summaryrefslogtreecommitdiffstats
path: root/quantum/process_keycode/process_unicode.h
diff options
context:
space:
mode:
authorDamien <Dbroqua@users.noreply.github.com>2016-10-26 07:43:58 +0200
committerGitHub <noreply@github.com>2016-10-26 07:43:58 +0200
commit41d7460f538a3b561aa4475c80dbcb602f476b94 (patch)
treeb4c25c89007acab684ae61fc97dd64ee51c058b9 /quantum/process_keycode/process_unicode.h
parent911b52a49414a12d95b3f20c378f4c3fbafa3886 (diff)
parentf44ead146214381aa78344f1d4fe3e1b24010c95 (diff)
Merge pull request #10 from jackhumbert/master
Merge from jackhumbert/qmk_firmware
Diffstat (limited to 'quantum/process_keycode/process_unicode.h')
-rw-r--r--quantum/process_keycode/process_unicode.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/quantum/process_keycode/process_unicode.h b/quantum/process_keycode/process_unicode.h
index 27f8072ee6..065eeb5f6a 100644
--- a/quantum/process_keycode/process_unicode.h
+++ b/quantum/process_keycode/process_unicode.h
@@ -3,10 +3,11 @@
#include "quantum.h"
-#define UC_OSX 0
-#define UC_LNX 1
-#define UC_WIN 2
-#define UC_BSD 3
+#define UC_OSX 0 // Mac OS X
+#define UC_LNX 1 // Linux
+#define UC_WIN 2 // Windows 'HexNumpad'
+#define UC_BSD 3 // BSD (not implemented)
+#define UC_WINC 4 // WinCompose https://github.com/samhocevar/wincompose
#ifndef UNICODE_TYPE_DELAY
#define UNICODE_TYPE_DELAY 10
@@ -20,6 +21,10 @@ void register_hex(uint16_t hex);
bool process_unicode(uint16_t keycode, keyrecord_t *record);
+#ifdef UNICODEMAP_ENABLE
+bool process_unicode_map(uint16_t keycode, keyrecord_t *record);
+#endif
+
#ifdef UCIS_ENABLE
#ifndef UCIS_MAX_SYMBOL_LENGTH
#define UCIS_MAX_SYMBOL_LENGTH 32