Class KeyEvent
Keyboard event
class KeyEvent
Constructors
Name | Description |
---|---|
this
(action, key, mods, text)
|
Properties
Type | Name | Description |
---|---|---|
action [get]
|
Key action (keyDown, keyUp, text, repeat) | |
allModifiers [get]
|
Key modifier bit flags (shift, ctrl, alt...) | |
key [get]
|
Key code from Key enum
|
|
modifiers [get]
|
Get modifiers, not counting the difference between left or right | |
bool |
noModifiers [get]
|
True if has no modifiers applied |
dstring |
text [get]
|
Entered text, for text action
|
Methods
Name | Description |
---|---|
alteredBy
(mod)
|
Check whether all of mod modifiers are applied
|
toString
()
|