added BS_TOGG so BS_SWAP and BS_NORM can be on a single key (#18837)

Co-authored-by: Selene ToyKeeper <[email protected]>
This commit is contained in:
Selene ToyKeeperandSelene ToyKeeper authored and GitHub committed 2022-10-24 22:02:21 -07:00
1 parent a80b886751
commit e863c431f6
3 files changed
+8

No files matched your search

+3
View File
@@ -615,6 +615,8 @@ enum quantum_keycodes {
AUTOCORRECT_OFF,
AUTOCORRECT_TOGGLE,
MAGIC_TOGGLE_BACKSLASH_BACKSPACE,
// Start of custom keycode range for keyboards and keymaps - always leave at the end
SAFE_RANGE
};
@@ -731,6 +733,7 @@ enum quantum_keycodes {
#define BS_SWAP MAGIC_SWAP_BACKSLASH_BACKSPACE
#define BS_NORM MAGIC_UNSWAP_BACKSLASH_BACKSPACE
#define BS_TOGG MAGIC_TOGGLE_BACKSLASH_BACKSPACE
#define NK_ON MAGIC_HOST_NKRO
#define NK_OFF MAGIC_UNHOST_NKRO