summaryrefslogtreecommitdiffstats
path: root/quantum/keymap.h
diff options
context:
space:
mode:
authorcbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info>2016-10-17 16:53:39 +0200
committercbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info>2016-10-17 16:53:39 +0200
commit0469bd8ffaffc5ecbcd972745d997af5a083ee72 (patch)
tree55f0fe47d5982e335d4f5cfdd381ebb5aeaf964d /quantum/keymap.h
parentf74c560be853a5d6c563c73096c0d12fbfb31b6a (diff)
parent80ac73a21cd08663d015b1fd16f34c6713f875d6 (diff)
downloadqmk_firmware-0469bd8ffaffc5ecbcd972745d997af5a083ee72.tar.gz
qmk_firmware-0469bd8ffaffc5ecbcd972745d997af5a083ee72.tar.xz
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
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