616 B
616 B
input
mouse_show()
Show or hide the mouse cursor. Pass true to show, false to hide.
mouse_lock()
Capture or release the mouse. Pass true to lock, false to unlock.
cursor_set()
Set the given cursor (created by os.make_cursor) as the active mouse cursor.
keyname()
Given a numeric keycode, return the corresponding key name (e.g., from SDL).
keymod()
Return an object describing the current modifier keys, e.g. {shift:true, ctrl:true}.