-
Notifications
You must be signed in to change notification settings - Fork 3
Keyboard.API
Henryk Wollik edited this page Jul 28, 2014
·
1 revision
Representation of keyboard input.
- Source:
-
<static> getInstance() → {Keyboard}
-
Returns the singleton.
- Source:
- Type
- Keyboard
-
Return the current key code.
- Source:
- Type
- null | String
-
Return the previous key code.
- Source:
- Type
- null | String
-
Return the current key string.
- Source:
- Type
- null | String
-
Return the previous key string.
- Source:
- Type
- null | String
-
Returns true if the alt-key is pressed.
- Source:
- Type
- Boolean
-
Returns true if the ctrl-key is pressed.
- Source:
- Type
- Boolean
-
Returns true if a key is down.
- Source:
- Type
- Boolean
-
Returns true if the shift-key is pressed.
- Source:
- Type
- Boolean
-
Returns true if a key is up.
- Source:
- Type
- Boolean