diff options
author | Ryan <[email protected]> | 2022-10-28 23:53:15 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-10-28 13:53:15 +0100 |
commit | 22be7e79ac6a328ed5a7dc8c4e6f17d749852221 (patch) | |
tree | 49320f3f101270c1c191c387156190b5e5fe688f /quantum/quantum_keycodes.h | |
parent | 2ff1d852909daaaf94433fab202e7bf94274d67b (diff) | |
download | qmk_firmware-22be7e79ac6a328ed5a7dc8c4e6f17d749852221.tar.gz qmk_firmware-22be7e79ac6a328ed5a7dc8c4e6f17d749852221.zip |
Normalise Auto Shift keycodes (#18892)
* Normalise Auto Shift keycodes
* Add keycode table to main list
* Add old keycodes to legacy header
Diffstat (limited to 'quantum/quantum_keycodes.h')
-rw-r--r-- | quantum/quantum_keycodes.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h index 0be090e48b..6c9a262484 100644 --- a/quantum/quantum_keycodes.h +++ b/quantum/quantum_keycodes.h @@ -105,12 +105,12 @@ enum quantum_keycodes { QK_GRAVE_ESCAPE, // 5C16 // Auto Shift - KC_ASUP, // 5C17 - KC_ASDN, // 5C18 - KC_ASRP, // 5C19 - KC_ASTG, // 5C1A - KC_ASON, // 5C1B - KC_ASOFF, // 5C1C + QK_AUTO_SHIFT_UP, // 5C17 + QK_AUTO_SHIFT_DOWN, // 5C18 + QK_AUTO_SHIFT_REPORT, // 5C19 + QK_AUTO_SHIFT_TOGGLE, // 5C1A + QK_AUTO_SHIFT_ON, // 5C1B + QK_AUTO_SHIFT_OFF, // 5C1C // Audio AU_ON, // 5C1D @@ -844,6 +844,14 @@ enum quantum_keycodes { #define UC_M_WC UNICODE_MODE_WINC #define UC_M_EM UNICODE_MODE_EMACS +// Auto Shift +#define AS_UP QK_AUTO_SHIFT_UP +#define AS_DOWN QK_AUTO_SHIFT_DOWN +#define AS_RPT QK_AUTO_SHIFT_REPORT +#define AS_TOGG QK_AUTO_SHIFT_TOGGLE +#define AS_ON QK_AUTO_SHIFT_ON +#define AS_OFF QK_AUTO_SHIFT_OFF + // Leader key #define QK_LEAD QK_LEADER |