aboutsummaryrefslogtreecommitdiff
path: root/quantum/process_keycode/process_unicode.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/process_keycode/process_unicode.h')
-rw-r--r--quantum/process_keycode/process_unicode.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/quantum/process_keycode/process_unicode.h b/quantum/process_keycode/process_unicode.h
index 75607e40e..dd6dd7138 100644
--- a/quantum/process_keycode/process_unicode.h
+++ b/quantum/process_keycode/process_unicode.h
@@ -12,6 +12,7 @@ void set_unicode_input_mode(uint8_t os_target);
12void unicode_input_start(void); 12void unicode_input_start(void);
13void unicode_input_finish(void); 13void unicode_input_finish(void);
14void register_hex(uint16_t hex); 14void register_hex(uint16_t hex);
15void register_hex32(uint32_t hex);
15 16
16bool process_unicode(uint16_t keycode, keyrecord_t *record); 17bool process_unicode(uint16_t keycode, keyrecord_t *record);
17 18
@@ -22,7 +23,7 @@ bool process_unicode(uint16_t keycode, keyrecord_t *record);
22 23
23typedef struct { 24typedef struct {
24 char *symbol; 25 char *symbol;
25 uint16_t codes[4]; 26 uint32_t code;
26} qk_ucis_symbol_t; 27} qk_ucis_symbol_t;
27 28
28struct { 29struct {
@@ -31,8 +32,8 @@ struct {
31 bool in_progress:1; 32 bool in_progress:1;
32} qk_ucis_state; 33} qk_ucis_state;
33 34
34#define UCIS_TABLE(...) {__VA_ARGS__, {NULL, {}}} 35#define UCIS_TABLE(...) {__VA_ARGS__, {NULL, 0}}
35#define UCIS_SYM(name, ...) {name, {__VA_ARGS__, 0}} 36#define UCIS_SYM(name, code) {name, code}
36 37
37extern const qk_ucis_symbol_t ucis_symbol_table[]; 38extern const qk_ucis_symbol_t ucis_symbol_table[];
38 39