aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/keymap.h
diff options
context:
space:
mode:
authorGravatar Jack Humbert <jack.humb@gmail.com>2016-10-16 15:49:45 -0400
committerGravatar GitHub <noreply@github.com>2016-10-16 15:49:45 -0400
commit52d7f7d2770a35adf0b0b0c803e05ae8719f539f (patch)
treefc9c02090ef86489ba99c2c1618f1da1c334c28a /quantum/keymap.h
parent5e2b843538365b130a73054bbeff6009cb8d818c (diff)
parent932705706edc22774d89fb94ebad9ffe690a270c (diff)
downloadqmk_firmware-52d7f7d2770a35adf0b0b0c803e05ae8719f539f.tar.gz
Merge pull request #815 from priyadi/unicode_map
Allow unicode up to 0xFFFFF using separate mapping table
Diffstat (limited to 'quantum/keymap.h')
-rw-r--r--quantum/keymap.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/quantum/keymap.h b/quantum/keymap.h
index 85c090972..a01bbfbd1 100644
--- a/quantum/keymap.h
+++ b/quantum/keymap.h
@@ -84,6 +84,10 @@ enum quantum_keycodes {
QK_MOD_TAP_MAX = 0x6FFF,
QK_TAP_DANCE = 0x7100,
QK_TAP_DANCE_MAX = 0x71FF,
+#ifdef UNICODEMAP_ENABLE
+ QK_UNICODE_MAP = 0x7800,
+ QK_UNICODE_MAP_MAX = 0x7FFF,
+#endif
#ifdef UNICODE_ENABLE
QK_UNICODE = 0x8000,
QK_UNICODE_MAX = 0xFFFF,
@@ -339,5 +343,8 @@ enum quantum_keycodes {
#define UC(n) UNICODE(n)
#endif
+#ifdef UNICODEMAP_ENABLE
+ #define X(n) (n | QK_UNICODE_MAP)
+#endif
#endif