summaryrefslogtreecommitdiffstats
path: root/quantum/process_keycode/process_unicode.h
diff options
context:
space:
mode:
authorRené Werner <mail@renewerner.net>2016-08-25 12:27:29 +0200
committerRené Werner <mail@renewerner.net>2016-08-25 12:27:29 +0200
commit22ef0bbac55215965c7fc6246d20d4591fbf14f4 (patch)
tree6ed3453403f91b273d771c9ce2141408d0f7bad6 /quantum/process_keycode/process_unicode.h
parent1bbd3c1eea78abf0b36a289fb37f80dfc4f9c8bb (diff)
parentad206155aa6f87de3fb9f0aefe60685ec12905a8 (diff)
Merge remote-tracking branch 'upstream/master' into kitten_paw
Diffstat (limited to 'quantum/process_keycode/process_unicode.h')
-rw-r--r--quantum/process_keycode/process_unicode.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/quantum/process_keycode/process_unicode.h b/quantum/process_keycode/process_unicode.h
index 85364e8eb3..02ce3dd7e0 100644
--- a/quantum/process_keycode/process_unicode.h
+++ b/quantum/process_keycode/process_unicode.h
@@ -29,11 +29,13 @@ typedef struct {
char *code;
} qk_ucis_symbol_t;
-struct {
+typedef struct {
uint8_t count;
uint16_t codes[UCIS_MAX_SYMBOL_LENGTH];
bool in_progress:1;
-} qk_ucis_state;
+} qk_ucis_state_t;
+
+extern qk_ucis_state_t qk_ucis_state;
#define UCIS_TABLE(...) {__VA_ARGS__, {NULL, NULL}}
#define UCIS_SYM(name, code) {name, #code}