🍎Keys

Defines all the keys that can be used for custom bindings

K_TAB
K_ENTER
K_ESCAPE
K_SPACE
K_0
K_1
K_2
K_3
K_4
K_5
K_6
K_7
K_8
K_9
K_A
K_B
K_C
K_D
K_E
K_F
K_G
K_H
K_I
K_J
K_K
K_L
K_M
K_N
K_O
K_P
K_Q
K_R
K_S
K_T
K_U
K_V
K_W
K_X
K_Y
K_Z
K_BACKSPACE
K_UPARROW
K_DOWNARROW
K_LEFTARROW
K_RIGHTARROW
K_ALT
K_CTRL
K_SHIFT
K_F1
K_F2
K_F3
K_F4
K_F5
K_F6
K_F7
K_F8
K_F9
K_F10
K_F11
K_F12
K_INS
K_DEL
K_PGDN
K_PGUP
K_HOME
K_END
K_KP_HOME
K_KP_UPARROW
K_KP_PGUP
K_KP_LEFTARROW
K_KP_5
K_KP_RIGHTARROW
K_KP_END
K_KP_DOWNARROW
K_KP_PGDN
K_KP_ENTER
K_KP_INS
K_KP_DEL
K_KP_SLASH
K_KP_MINUS
K_KP_PLUS
K_KP_STAR
K_KP_EQUALS
K_SCROLLLOCK
K_PAUSE

-- Example usage:
if pressedKey == K_P then
    -- Code
end

Last updated