Extended Keycodes
Firmware only keycodes are keycodes that combine multiple keycodes from the standard HID Usage Tables to generate specific characters.
| Combination | Usage Name | Keycode Identifiers |
|---|---|---|
| Left Shift and Grave | ~ | KC_TILD |
| Left Shift and 1 | ! | KC_EXLM |
| Left Shift and 2 | @ | KC_AT |
| Left Shift and 3 | # | KC_HASH |
| Left Shift and 4 | $ | KC_DLR |
| Left Shift and 5 | % | KC_PERC |
| Left Shift and 6 | ^ | KC_CIRC |
| Left Shift and 7 | & | KC_AMPR |
| Left Shift and 8 | * | KC_ASTR |
| Left Shift and 9 | ( | KC_LPRN |
| Left Shift and 0 | ) | KC_RPRN |
| Left Shift and Minus | _ | KC_UNDS |
| Left Shift and Equal | + | KC_PLUS |
| Left Shift and [ | { | KC_LCBR |
| Left Shift and ] | } | KC_RCBR |
| Left Shift and \ | | | KC_PIPE |
| Left Shift and ; | : | KC_COLN |
| Left Shift and ' | " | KC_DQUO KC_DQT |
| Left Shift and , | < | KC_LT |
| Left Shift and . | > | KC_GT |
| Left Shift and / | ? | KC_QUES |
| Left Shift and Non US # | Non US Tilde | KC_NUTL |
| Left Shift and Non US \ | Non US Pipe | KC_NUPI |
Table is still a work in progress. Refer to hid_keycodes.h and advanced_keycodes.h for a detailed list of keycodes.
Mod Keys​
Mod keys are special macros you can use to send a Modifier and a Key at the same time on a single keypress.
| Macro | Usage Name | Example |
|---|---|---|
| S(KEY) | Left Shift + Key | S(KC_1) |
| LALT(KEY) | Left ALT + Key | LALT(KC_TAB) |
| RALT(KEY) | Right ALT + Key | RALT(KC_TAB) |
| LCTL(KEY) | Left CTL + Key | LCTL(KC_C) |
| RCTL(KEY) | Right CTL + Key | RCTL(KC_C) |
| LSFT(KEY) | Left Shift + Key | LSFT(KC_1) |
| RSFT(KEY) | Right Shift + Key | LALT(KC_1) |
| LGUI(KEY) | Left GUI + Key | LGUI(KC_1) |
| RGUI(KEY) | Right GUI + Key | RGUI(KC_1) |