diff options
author | Drashna Jaelre <[email protected]> | 2023-02-11 15:23:07 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-02-12 10:23:07 +1100 |
commit | fe02abc47921428fe6eb59ca817bfd082f0de4bf (patch) | |
tree | 5bc3f68ec782969cfed93660c21704df4b530823 /quantum/keycodes.h | |
parent | 40028437971fbca33f49e1d0b683b3b6e2dc9a61 (diff) | |
download | qmk_firmware-fe02abc47921428fe6eb59ca817bfd082f0de4bf.tar.gz qmk_firmware-fe02abc47921428fe6eb59ca817bfd082f0de4bf.zip |
[Core] Tri Layer Keys (#19795)
Co-authored-by: wilba <[email protected]>
Co-authored-by: Pablo MartÃnez <[email protected]>
Co-authored-by: Joel Challis <[email protected]>
Co-authored-by: Nick Brassel <[email protected]>
Diffstat (limited to 'quantum/keycodes.h')
-rw-r--r-- | quantum/keycodes.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/quantum/keycodes.h b/quantum/keycodes.h index f24ccf01b8..4fa4306ed6 100644 --- a/quantum/keycodes.h +++ b/quantum/keycodes.h @@ -717,6 +717,8 @@ enum qk_keycode_defines { QK_AUTOCORRECT_ON = 0x7C74, QK_AUTOCORRECT_OFF = 0x7C75, QK_AUTOCORRECT_TOGGLE = 0x7C76, + QK_TRI_LAYER_LOWER = 0x7C77, + QK_TRI_LAYER_UPPER = 0x7C78, SAFE_RANGE = 0x7E00, // Alias @@ -1282,6 +1284,8 @@ enum qk_keycode_defines { AC_ON = QK_AUTOCORRECT_ON, AC_OFF = QK_AUTOCORRECT_OFF, AC_TOGG = QK_AUTOCORRECT_TOGGLE, + TL_LOWR = QK_TRI_LAYER_LOWER, + TL_UPPR = QK_TRI_LAYER_UPPER, }; // Range Helpers @@ -1333,4 +1337,4 @@ enum qk_keycode_defines { #define IS_MACRO_KEYCODE(code) ((code) >= QK_MACRO_0 && (code) <= QK_MACRO_31) #define IS_BACKLIGHT_KEYCODE(code) ((code) >= QK_BACKLIGHT_ON && (code) <= QK_BACKLIGHT_TOGGLE_BREATHING) #define IS_RGB_KEYCODE(code) ((code) >= RGB_TOG && (code) <= RGB_MODE_TWINKLE) -#define IS_QUANTUM_KEYCODE(code) ((code) >= QK_BOOTLOADER && (code) <= QK_AUTOCORRECT_TOGGLE) +#define IS_QUANTUM_KEYCODE(code) ((code) >= QK_BOOTLOADER && (code) <= QK_TRI_LAYER_UPPER) |