Files
cell/docs/api/input.md
2025-02-07 23:54:30 -06:00

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

mousestate()

print_pawn_kbm(pawn)

procdown()

print_md_kbm(pawn)

has_bind(pawn, bind)

tabcomplete(val, list)

do_uncontrol(pawn)