-
Notifications
You must be signed in to change notification settings - Fork 1
InputEvent
GNamimates edited this page Oct 25, 2024
·
1 revision
| Type | Field | Description | |
|---|---|---|---|
boolean |
alt | if Alt is pressed |
|
string |
char | the character of the button being pressed ie. w k
|
|
boolean |
ctrl | if Ctrl is pressed |
|
boolean |
isHandled |
true if teh event has been handled, internal use |
|
| GNUI.keyCode | key | the key code of the button | |
boolean |
shift | if Shift is pressed |
|
Event.Press.state |
state | the state of the button 0 released, 1 pressed or 2 held |
|
number |
strength | the direction of the scroll wheel (only exists for key.mouse.scroll) |