1
0
Fork 0

Remove ifdefs for Swap Hands keycodes (#12095)

This commit is contained in:
Drashna Jaelre 2021-03-03 17:02:00 -08:00 committed by GitHub
parent 8f30f4170c
commit 0fd95e5db5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,12 +79,10 @@ enum quantum_keycodes {
QK_STENO_GEMINI = 0x5A31, QK_STENO_GEMINI = 0x5A31,
QK_STENO_MAX = 0x5A3F, QK_STENO_MAX = 0x5A3F,
#endif #endif
#ifdef SWAP_HANDS_ENABLE
QK_SWAP_HANDS = 0x5B00, QK_SWAP_HANDS = 0x5B00,
QK_SWAP_HANDS_MAX = 0x5BFF, QK_SWAP_HANDS_MAX = 0x5BFF,
#endif QK_MOD_TAP = 0x6000,
QK_MOD_TAP = 0x6000, QK_MOD_TAP_MAX = 0x7FFF,
QK_MOD_TAP_MAX = 0x7FFF,
#ifdef UNICODE_ENABLE #ifdef UNICODE_ENABLE
QK_UNICODE = 0x8000, QK_UNICODE = 0x8000,
QK_UNICODE_MAX = 0xFFFF, QK_UNICODE_MAX = 0xFFFF,
@ -868,16 +866,14 @@ enum quantum_keycodes {
#define UC_M_BS UNICODE_MODE_BSD #define UC_M_BS UNICODE_MODE_BSD
#define UC_M_WC UNICODE_MODE_WINC #define UC_M_WC UNICODE_MODE_WINC
#ifdef SWAP_HANDS_ENABLE #define SH_T(kc) (QK_SWAP_HANDS | (kc))
# define SH_T(kc) (QK_SWAP_HANDS | (kc)) #define SH_TG (QK_SWAP_HANDS | OP_SH_TOGGLE)
# define SH_TG (QK_SWAP_HANDS | OP_SH_TOGGLE) #define SH_TT (QK_SWAP_HANDS | OP_SH_TAP_TOGGLE)
# define SH_TT (QK_SWAP_HANDS | OP_SH_TAP_TOGGLE) #define SH_OS (QK_SWAP_HANDS | OP_SH_ONESHOT)
# define SH_OS (QK_SWAP_HANDS | OP_SH_ONESHOT) #define SH_MON (QK_SWAP_HANDS | OP_SH_ON_OFF)
# define SH_MON (QK_SWAP_HANDS | OP_SH_ON_OFF) #define SH_MOFF (QK_SWAP_HANDS | OP_SH_OFF_ON)
# define SH_MOFF (QK_SWAP_HANDS | OP_SH_OFF_ON) #define SH_ON (QK_SWAP_HANDS | OP_SH_ON)
# define SH_ON (QK_SWAP_HANDS | OP_SH_ON) #define SH_OFF (QK_SWAP_HANDS | OP_SH_OFF)
# define SH_OFF (QK_SWAP_HANDS | OP_SH_OFF)
#endif
// Dynamic Macros aliases // Dynamic Macros aliases
#define DM_REC1 DYN_REC_START1 #define DM_REC1 DYN_REC_START1