From e863c431f61565f41cf28fa7e981bdb3cba4f642 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Mon, 24 Oct 2022 23:02:21 -0600 Subject: added BS_TOGG so BS_SWAP and BS_NORM can be on a single key (#18837) Co-authored-by: Selene ToyKeeper --- quantum/quantum_keycodes.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'quantum/quantum_keycodes.h') 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 -- cgit v1.2.3