Data type KeyCode
access this type via: os.KeyCode (uses)
This type is a container for constants which describe values for hardware-independent key codes. When receiving key presses in a graphical application you will need to use a keyboard map function to convert hardware key codes into abstract ones from this type.
Constants
byte OTHER
byte A
byte B
byte C
byte D
byte E
byte F
byte G
byte H
byte I
byte J
byte K
byte L
byte M
byte N
byte O
byte P
byte Q
byte R
byte S
byte T
byte U
byte V
byte W
byte X
byte Y
byte Z
byte SPACE
byte RETURN
byte BACKSPACE
byte DELETE
byte INSERT
byte HOME
byte END
byte ESCAPE
byte SHIFT_LEFT
byte SHIFT_RIGHT
byte CTRL_LEFT
byte CTRL_RIGHT
byte ALT_LEFT
byte ALT_RIGHT
byte TAB
byte PAGE_UP
byte PAGE_DOWN
byte ARROW_UP
byte ARROW_DOWN
byte ARROW_LEFT
byte ARROW_RIGHT
byte CAPLOCK
byte NUMLOCK
byte CMD
byte F1
byte F2
byte F3
byte F4
byte F5
byte F6
byte F7
byte F8
byte F9
byte F10
byte F11
byte F12