diff options
author | Drashna Jaelre <drashna@live.com> | 2021-03-03 17:02:00 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-03 17:02:00 -0800 |
commit | 0fd95e5db52c5cd51d452c479977a7b9af5ef7a7 (patch) | |
tree | bb4959a06424e8129d516e827e07724ffdea1cc0 /quantum/quantum_keycodes.h | |
parent | 8f30f4170c85009b6be991c9820f2c79068ccdc6 (diff) | |
download | qmk_firmware-0fd95e5db52c5cd51d452c479977a7b9af5ef7a7.tar.gz qmk_firmware-0fd95e5db52c5cd51d452c479977a7b9af5ef7a7.zip |
Remove ifdefs for Swap Hands keycodes (#12095)
Diffstat (limited to 'quantum/quantum_keycodes.h')
-rw-r--r-- | quantum/quantum_keycodes.h | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h index e0f5dbc61..116fc4b71 100644 --- a/quantum/quantum_keycodes.h +++ b/quantum/quantum_keycodes.h | |||
@@ -79,12 +79,10 @@ enum quantum_keycodes { | |||
79 | QK_STENO_GEMINI = 0x5A31, | 79 | QK_STENO_GEMINI = 0x5A31, |
80 | QK_STENO_MAX = 0x5A3F, | 80 | QK_STENO_MAX = 0x5A3F, |
81 | #endif | 81 | #endif |
82 | #ifdef SWAP_HANDS_ENABLE | ||
83 | QK_SWAP_HANDS = 0x5B00, | 82 | QK_SWAP_HANDS = 0x5B00, |
84 | QK_SWAP_HANDS_MAX = 0x5BFF, | 83 | QK_SWAP_HANDS_MAX = 0x5BFF, |
85 | #endif | 84 | QK_MOD_TAP = 0x6000, |
86 | QK_MOD_TAP = 0x6000, | 85 | QK_MOD_TAP_MAX = 0x7FFF, |
87 | QK_MOD_TAP_MAX = 0x7FFF, | ||
88 | #ifdef UNICODE_ENABLE | 86 | #ifdef UNICODE_ENABLE |
89 | QK_UNICODE = 0x8000, | 87 | QK_UNICODE = 0x8000, |
90 | QK_UNICODE_MAX = 0xFFFF, | 88 | QK_UNICODE_MAX = 0xFFFF, |
@@ -868,16 +866,14 @@ enum quantum_keycodes { | |||
868 | #define UC_M_BS UNICODE_MODE_BSD | 866 | #define UC_M_BS UNICODE_MODE_BSD |
869 | #define UC_M_WC UNICODE_MODE_WINC | 867 | #define UC_M_WC UNICODE_MODE_WINC |
870 | 868 | ||
871 | #ifdef SWAP_HANDS_ENABLE | 869 | #define SH_T(kc) (QK_SWAP_HANDS | (kc)) |
872 | # define SH_T(kc) (QK_SWAP_HANDS | (kc)) | 870 | #define SH_TG (QK_SWAP_HANDS | OP_SH_TOGGLE) |
873 | # define SH_TG (QK_SWAP_HANDS | OP_SH_TOGGLE) | 871 | #define SH_TT (QK_SWAP_HANDS | OP_SH_TAP_TOGGLE) |
874 | # define SH_TT (QK_SWAP_HANDS | OP_SH_TAP_TOGGLE) | 872 | #define SH_OS (QK_SWAP_HANDS | OP_SH_ONESHOT) |
875 | # define SH_OS (QK_SWAP_HANDS | OP_SH_ONESHOT) | 873 | #define SH_MON (QK_SWAP_HANDS | OP_SH_ON_OFF) |
876 | # define SH_MON (QK_SWAP_HANDS | OP_SH_ON_OFF) | 874 | #define SH_MOFF (QK_SWAP_HANDS | OP_SH_OFF_ON) |
877 | # define SH_MOFF (QK_SWAP_HANDS | OP_SH_OFF_ON) | 875 | #define SH_ON (QK_SWAP_HANDS | OP_SH_ON) |
878 | # define SH_ON (QK_SWAP_HANDS | OP_SH_ON) | 876 | #define SH_OFF (QK_SWAP_HANDS | OP_SH_OFF) |
879 | # define SH_OFF (QK_SWAP_HANDS | OP_SH_OFF) | ||
880 | #endif | ||
881 | 877 | ||
882 | // Dynamic Macros aliases | 878 | // Dynamic Macros aliases |
883 | #define DM_REC1 DYN_REC_START1 | 879 | #define DM_REC1 DYN_REC_START1 |