-
Notifications
You must be signed in to change notification settings - Fork 1
Keyboard
Tony Nguyen edited this page May 11, 2020
·
4 revisions
Keyboard Object Class allows for keyboard functionality, this is not a limited object which means you can have an infinite amount of this object per world. Represents the keyboard of a player. It's best if there is only one copy of this object however, as Waterfall.lua
is always updating a select amount of instances such as Mouse
Object Class.
Index | Type | Description | Edit Mode |
---|---|---|---|
None | None | None | None |
Parameter | Type | Optional | Description |
---|---|---|---|
None | None | None | None |
None
Returns: None
Argument | Type | Description |
---|---|---|
key | String | Key string of the pressed key |
scancode | String | Scancode string of the pressed key |
repeated | Boolean | Indicates whether or not this key is a repeat key event |
Triggers when a key on a keyboard is being pressed
Argument | Type | Description |
---|---|---|
key | String | Key string of the pressed key |
scancode | String | Scancode string of the pressed key |
Triggers when a key on a keyboard is being released
Work in progress wiki!!