summaryrefslogtreecommitdiff
path: root/quantum/process_keycode/process_unicode.h
diff options
context:
space:
mode:
authorOlivier2016-08-25 00:11:37 +0200
committerOlivier2016-08-25 00:11:37 +0200
commit73d2a470eed73a1ba28520343bd1cfc81498d183 (patch)
treef9b680f9833f11984aacd336f8d22745dc4fad02 /quantum/process_keycode/process_unicode.h
parentb5172e3afab515b1f93cd09c51b4c6c1b5174dc7 (diff)
parentad206155aa6f87de3fb9f0aefe60685ec12905a8 (diff)
Merge https://github.com/jackhumbert/qmk_firmware
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 85364e8eb..02ce3dd7e 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}