diff options
author | Ryan <fauxpark@gmail.com> | 2021-11-04 16:22:17 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-03 22:22:17 -0700 |
commit | f529580860cf5a1de4afc10432f218a45daae17a (patch) | |
tree | 1d2fa041174f2586230ab831c05e5b56d8ba4f92 /quantum/keycode_legacy.h | |
parent | b06d9d822cfb72e0728b11711a333f2f5d3c631e (diff) | |
download | qmk_firmware-f529580860cf5a1de4afc10432f218a45daae17a.tar.gz qmk_firmware-f529580860cf5a1de4afc10432f218a45daae17a.zip |
Basic keycode overhaul (#14726)
Diffstat (limited to 'quantum/keycode_legacy.h')
-rw-r--r-- | quantum/keycode_legacy.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/quantum/keycode_legacy.h b/quantum/keycode_legacy.h new file mode 100644 index 000000000..0317a0553 --- /dev/null +++ b/quantum/keycode_legacy.h | |||
@@ -0,0 +1,53 @@ | |||
1 | #pragma once | ||
2 | |||
3 | // clang-format off | ||
4 | |||
5 | // These keycode names have been deprecated | ||
6 | |||
7 | #define KC_BSPACE KC_BACKSPACE | ||
8 | #define KC_LBRACKET KC_LEFT_BRACKET | ||
9 | #define KC_RBRACKET KC_RIGHT_BRACKET | ||
10 | #define KC_BSLASH KC_BACKSLASH | ||
11 | #define KC_SCOLON KC_SEMICOLON | ||
12 | #define KC_CAPSLOCK KC_CAPS_LOCK | ||
13 | #define KC_PSCREEN KC_PRINT_SCREEN | ||
14 | #define KC_SCROLLLOCK KC_SCROLL_LOCK | ||
15 | #define KC_PGDOWN KC_PAGE_DOWN | ||
16 | #define KC_NUMLOCK KC_NUM_LOCK | ||
17 | #define KC_NONUS_BSLASH KC_NONUS_BACKSLASH | ||
18 | #define KC_POWER KC_KB_POWER | ||
19 | #define KC__MUTE KC_KB_MUTE | ||
20 | #define KC__VOLUP KC_KB_VOLUME_UP | ||
21 | #define KC__VOLDOWN KC_KB_VOLUME_DOWN | ||
22 | #define KC_LOCKING_CAPS KC_LOCKING_CAPS_LOCK | ||
23 | #define KC_LOCKING_NUM KC_LOCKING_NUM_LOCK | ||
24 | #define KC_LOCKING_SCROLL KC_LOCKING_SCROLL_LOCK | ||
25 | #define KC_LANG1 KC_LANGUAGE_1 | ||
26 | #define KC_LANG2 KC_LANGUAGE_2 | ||
27 | #define KC_LANG3 KC_LANGUAGE_3 | ||
28 | #define KC_LANG4 KC_LANGUAGE_4 | ||
29 | #define KC_LANG5 KC_LANGUAGE_5 | ||
30 | #define KC_LANG6 KC_LANGUAGE_6 | ||
31 | #define KC_LANG7 KC_LANGUAGE_7 | ||
32 | #define KC_LANG8 KC_LANGUAGE_8 | ||
33 | #define KC_LANG9 KC_LANGUAGE_9 | ||
34 | #define KC_ALT_ERASE KC_ALTERNATE_ERASE | ||
35 | #define KC_SYSREQ KC_SYSTEM_REQUEST | ||
36 | |||
37 | #define KC_LCTRL KC_LEFT_CTRL | ||
38 | #define KC_LSHIFT KC_LEFT_SHIFT | ||
39 | #define KC_RCTRL KC_RIGHT_CTRL | ||
40 | #define KC_RSHIFT KC_RIGHT_SHIFT | ||
41 | |||
42 | #define KC_ZKHK KC_GRAVE | ||
43 | #define KC_RO KC_INTERNATIONAL_1 | ||
44 | #define KC_KANA KC_INTERNATIONAL_2 | ||
45 | #define KC_JYEN KC_INTERNATIONAL_3 | ||
46 | #define KC_HENK KC_INTERNATIONAL_4 | ||
47 | #define KC_MHEN KC_INTERNATIONAL_5 | ||
48 | #define KC_HAEN KC_LANGUAGE_1 | ||
49 | #define KC_HANJ KC_LANGUAGE_2 | ||
50 | |||
51 | #define KC_CLCK KC_CAPS_LOCK | ||
52 | #define KC_SLCK KC_SCROLL_LOCK | ||
53 | #define KC_NLCK KC_NUM_LOCK | ||