by Kaiochao
Library URL: http://www.byond.com/developer/Kaiochao/Keyboard
In the Object tab of Dream Maker, enable "Show all nodes" at the bottom. Compile or Update if you haven't already. Double-click any of the nodes to go to their (latest) definition. If it's from this library, don't use it unless it has a description.
KEYBOARD_NO_REPEAT
: Disables all Repeat-related functions.
keyboard
KeyAxis
Keys
keylistener
: Contains all the procs that are called onclient.keylistener
.
keyboard/keyboard
: A reference to the keyboard being used by the client, for use in external procs.keylistener/keylistener
: An object that keyboard events are forwarded to.
OnKeyDown
OnKeyUp
OnKeyRepeat
OnKeyboardRepeat
-
Added support for BYOND 511's "Any" key binding. Only works in 511!
511 isn't out yet, so it's currently untested. -
Added
Keys
enum for safe access to key names.
Should be everything on the keyboard, but let me know if I missed anything. -
Added
KeyAxis
enum for the possible return values ofkeyboard.GetAxis()
.
GetAxis()
is still compatible with the inequality operators. -
Added
client.OnKeyX()
procs andclient.keylistener
.
These are called bykeyboard.OnKeyX()
.
They callclient.keylistener.OnKeyX()
.