lib.misc
Miscellaneous helper functions from lib.misc.h
Functions
Section titled “Functions”hotkey_pressed
Section titled “hotkey_pressed”function hotkey_pressed(n: number): boolean
Checks if a given shortcut is currently pressed (see parse_hotkey).
hotkey_pressed_now
Section titled “hotkey_pressed_now”function hotkey_pressed_now(n: number, key: number): boolean
Checks if a shortcut is currently pressed, given that key is already pressed.