forked from mirrors/qmk_userspace
PoC: Swap Escape and Caps (#16336)
This commit is contained in:
parent
c7d8adfeaa
commit
871eeae4ea
7 changed files with 31 additions and 0 deletions
|
@ -605,6 +605,10 @@ enum quantum_keycodes {
|
|||
|
||||
CAPS_WORD,
|
||||
|
||||
MAGIC_SWAP_ESCAPE_CAPSLOCK,
|
||||
MAGIC_UNSWAP_ESCAPE_CAPSLOCK,
|
||||
MAGIC_TOGGLE_ESCAPE_CAPSLOCK,
|
||||
|
||||
// Start of custom keycode range for keyboards and keymaps - always leave at the end
|
||||
SAFE_RANGE
|
||||
};
|
||||
|
@ -756,6 +760,10 @@ enum quantum_keycodes {
|
|||
#define CL_CAPS MAGIC_UNCAPSLOCK_TO_CONTROL
|
||||
#define CL_TOGG MAGIC_TOGGLE_CONTROL_CAPSLOCK
|
||||
|
||||
#define EC_SWAP MAGIC_SWAP_ESCAPE_CAPSLOCK
|
||||
#define EC_NORM MAGIC_UNSWAP_ESCAPE_CAPSLOCK
|
||||
#define EC_TOGG MAGIC_TOGGLE_ESCAPE_CAPSLOCK
|
||||
|
||||
#define LCG_SWP MAGIC_SWAP_LCTL_LGUI
|
||||
#define LCG_NRM MAGIC_UNSWAP_LCTL_LGUI
|
||||
#define RCG_SWP MAGIC_SWAP_RCTL_RGUI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue