aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/process_keycode/process_unicode.h
diff options
context:
space:
mode:
authorIBNobody <ibnobody@gmail.com>2016-08-28 18:50:06 -0500
committerIBNobody <ibnobody@gmail.com>2016-08-28 18:50:06 -0500
commit6da0eb2b2b70d7b2c5bb1f7c6898f7d9a275ceea (patch)
tree50cd382df7dac58057c958f62732174cf0dfe920 /quantum/process_keycode/process_unicode.h
parent9263ade0fbdde6431fb5c7f26970754c5c7c2963 (diff)
parent6d1e916851daa7bcbd8ef31b6fbc73cb369ef1f0 (diff)
downloadfirmware-6da0eb2b2b70d7b2c5bb1f7c6898f7d9a275ceea.tar.gz
firmware-6da0eb2b2b70d7b2c5bb1f7c6898f7d9a275ceea.tar.bz2
firmware-6da0eb2b2b70d7b2c5bb1f7c6898f7d9a275ceea.zip
Merge remote-tracking branch 'refs/remotes/jackhumbert/master'
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}