-
Notifications
You must be signed in to change notification settings - Fork 3
Input
lnx00 edited this page Mar 14, 2023
·
2 revisions
Utilities to get pressed keys and convert keycodes to names and strings.
-
.GetKeyName(key)Returns the name of a keycode. -
.KeyToChar(key)Returns the string value of a keycode. -
.CharToKey(char)Returns the keycode of a string value. -
.GetPressedKey()Returns the currently pressed key. -
.GetPressedKeys()Returns all currently pressed keys as a table. -
.MouseInBounds(x, y, x2, y2)Returns if the cursor is in the given bounds.