Skip to content

Instantly share code, notes, and snippets.

@hanya
Created December 10, 2021 08:38
Show Gist options
  • Save hanya/2d7055ed0ed566328bd58e51567ed998 to your computer and use it in GitHub Desktop.
Save hanya/2d7055ed0ed566328bd58e51567ed998 to your computer and use it in GitHub Desktop.
List of keycodes for prk_firmware
Key Alias Description
:KC_NO :XXXXXXX
:KC_ROLL_OVER
:KC_POST_FAIL
:KC_UNDEFINED
:KC_A a and A
:KC_B b and B
:KC_C c and C
:KC_D d and D
:KC_E e and E
:KC_F f and F
:KC_G g and G
:KC_H h and H
:KC_I i and I
:KC_J j and J
:KC_K k and K
:KC_L l and L
:KC_M m and M
:KC_N n and N
:KC_O o and O
:KC_P p and P
:KC_Q q and Q
:KC_R r and R
:KC_S s and S
:KC_T t and T
:KC_U u and U
:KC_V v and V
:KC_W w and W
:KC_X x and X
:KC_Y y and Y
:KC_Z z and Z
:KC_1 1 and !
:KC_2 2 and @
:KC_3 3 and #
:KC_4 4 and $
:KC_5 5 and %
:KC_6 6 and ^
:KC_7 7 and &
:KC_8 8 and *
:KC_9 9 and (
:KC_0 0 and )
:KC_ENTER :KC_ENT Return (Enter)
:KC_ESCAPE :KC_ESC Escape
:KC_BSPACE :KC_BSPC Delete (Backspace)
:KC_TAB Tab
:KC_SPACE :KC_SPC Spacebar
:KC_MINUS - and _
:KC_EQUAL :KC_EQL = and +
:KC_LBRACKET :KC_LBRC [ and {
:KC_RBRACKET :KC_RBRC ] and }
:KC_BSLASH :KC_BSLS \ and |
:KC_NONUS_HASH Non-US # and ~
:KC_SCOLON ; and :
:KC_QUOTE :KC_QUOT ' and "
:KC_GRAVE :KC_ZKHK ` and ~
:KC_COMMA :KC_COMM , and <
:KC_DOT . and >
:KC_SLASH :KC_SLSH / and ?
:KC_CAPSLOCK :KC_CAPS Caps Lock
:KC_F1 F1
:KC_F2 F2
:KC_F3 F3
:KC_F4 F4
:KC_F5 F5
:KC_F6 F6
:KC_F7 F7
:KC_F8 F8
:KC_F9 F9
:KC_F10 F10
:KC_F11 F11
:KC_F12 F12
:KC_PSCREEN Print Screen
:KC_SCROLLLOCK Scroll Lock
:KC_PAUSE Pause
:KC_INSERT :KC_INS Insert
:KC_HOME Home
:KC_PGUP Page Up
:KC_DELETE :KC_DEL Forward Delete
:KC_END End
:KC_PGDOWN :KC_PGDN Page Down
:KC_RIGHT :KC_RGHT Right Arrow
:KC_LEFT Left Arrow
:KC_DOWN Down Arrow
:KC_UP Up Arrow
:KC_NUMLOCK Keypad Num Lock and Clear
:KC_KP_SLASH Keypad /
:KC_KP_ASTERISK Keypad *
:KC_KP_MINUS Keypad -
:KC_KP_PLUS Keypad +
:KC_KP_ENTER Keypad Enter
:KC_KP_1 Keypad 1 and End
:KC_KP_2 Keypad 2 and Down Arrow
:KC_KP_3 Keypad 3 and Page Down
:KC_KP_4 Keypad 4 and Left Arrow
:KC_KP_5 Keypad 5
:KC_KP_6 Keypad 6 and Right Arrow
:KC_KP_7 Keypad 7 and Home
:KC_KP_8 Keypad 8 and Up Arrow
:KC_KP_9 Keypad 9 and Page Up
:KC_KP_0 Keypad 0 and Insert
:KC_KP_DOT Keypad . and Delete
:KC_NONUS_BSLASH Non-US \ and |
:KC_APPLICATION Application
:KC_POWER System Power
:KC_KP_EQUAL Keypad =
:KC_F13 F13
:KC_F14 F14
:KC_F15 F15
:KC_F16 F16
:KC_F17 F17
:KC_F18 F18
:KC_F19 F19
:KC_F20 F20
:KC_F21 F21
:KC_F22 F22
:KC_F23 F23
:KC_F24 F24
:KC_EXECUTE Execute
:KC_HELP Help
:KC_MENU Menu
:KC_SELECT Select
:KC_STOP Stop
:KC_AGAIN Again
:KC_UNDO Undo
:KC_CUT Cut
:KC_COPY Copy
:KC_PASTE Paste
:KC_FIND Find
:KC_MUTE Mute
:KC_VOLUP Volume Up
:KC_VOLDOWN Volume Down
:KC_ Locking Caps Lock
:KC_ Locking Num Lock
:KC_ Locking Scroll Lock
:KC_ Keypad ,
:KC_ Keypad = on AS/400 keyboards
:KC_INT1 International 1
:KC_INT2 :KC_KANA International 2
:KC_INT3 International 3
:KC_INT4 :KC_HENK International 4
:KC_INT5 :KC_MHEN International 5
:KC_INT6 International 6
:KC_INT7 International 7
:KC_INT8 International 8
:KC_INT9 International 9
:KC_LANG1 :KC_HAEN Language 1
:KC_LANG2 :KC_HANJ Language 2
:KC_LANG3 Language 3
:KC_LANG4 Language 4
:KC_LANG5 Language 5
:KC_LANG6 Language 6
:KC_LANG7 Language 7
:KC_LANG8 Language 8
:KC_LANG9 Language 9
:KC_ALT_ERASE Alternate Erase
:KC_SYSREQ SysReg/Attention
:KC_CANCEL Cancel
:KC_CLEAR Clear
:KC_PRIOR Prior
:KC_RETURN Return
:KC_SEPARATOR Separator
:KC_OUT Out
:KC_OPER Oper
:KC_CLEAR_AGAIN Clear/Again
:KC_CRSEL CrSel/Props
:KC_EXSEL ExSel

Keycodes with shift key.

Key Alias Description
:KC_EXLM !
:KC_AT @
:KC_HASH #
:KC_DLR $
:KC_PERC %
:KC_CIRC ^
:KC_AMPR &
:KC_ASTER *
:KC_LPRN (
:KC_RPRN )
:KC_UNDS _
:KC_PLUS +
:KC_LCBR {
:KC_RCBR }
:KC_PIPE |
:KC_COLON :
:KC_DQUO "
:KC_TILD ~
:KC_LABK <
:KC_RABK >
:KC_QUES ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment