summaryrefslogtreecommitdiff
path: root/quantum/quantum_keycodes.h
diff options
context:
space:
mode:
authorSelene ToyKeeper <ToyKeeper@users.noreply.github.com>2022-10-24 23:02:21 -0600
committerGitHub <noreply@github.com>2022-10-24 22:02:21 -0700
commite863c431f61565f41cf28fa7e981bdb3cba4f642 (patch)
tree748ed905ab516ef389c883ad66e93f9607f8fbf3 /quantum/quantum_keycodes.h
parenta80b886751aaddb0e030a14a82cf99b6778145b4 (diff)
added BS_TOGG so BS_SWAP and BS_NORM can be on a single key (#18837)
Co-authored-by: Selene ToyKeeper <git@toykeeper.net>
Diffstat (limited to 'quantum/quantum_keycodes.h')
-rw-r--r--quantum/quantum_keycodes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h
index 2e2ba8cd81..7bd270cfd5 100644
--- a/quantum/quantum_keycodes.h
+++ b/quantum/quantum_keycodes.h
@@ -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