Input - lnx00/Lmaobox-Library GitHub Wiki

lnxLib.Utils.Input

Utilities to get pressed keys and convert keycodes to names and strings.

Functions

  • .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.