summaryrefslogtreecommitdiff
path: root/quantum/quantum_keycodes.h
diff options
context:
space:
mode:
authorChewxy <chewxy@gmail.com>2022-08-15 05:24:52 +1000
committerGitHub <noreply@github.com>2022-08-14 20:24:52 +0100
commit6fc7c03e9581ddde68b32f2f76f8053628da6465 (patch)
tree8eafd127806a85afd2f70d5cbf4eb484f33011cc /quantum/quantum_keycodes.h
parent4da34828720d6daa9fd45d811129370cf11ba874 (diff)
Added emacs as an "operating system" for input mode. (#16949)
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 7228ee9e08..c8f03fa1ce 100644
--- a/quantum/quantum_keycodes.h
+++ b/quantum/quantum_keycodes.h
@@ -609,6 +609,8 @@ enum quantum_keycodes {
MAGIC_UNSWAP_ESCAPE_CAPSLOCK,
MAGIC_TOGGLE_ESCAPE_CAPSLOCK,
+ UNICODE_MODE_EMACS,
+
// Start of custom keycode range for keyboards and keymaps - always leave at the end
SAFE_RANGE
};
@@ -894,6 +896,7 @@ enum quantum_keycodes {
#define UC_M_WI UNICODE_MODE_WIN
#define UC_M_BS UNICODE_MODE_BSD
#define UC_M_WC UNICODE_MODE_WINC
+#define UC_M_EM UNICODE_MODE_EMACS
// Swap Hands
#define SH_T(kc) (QK_SWAP_HANDS | (kc))