diff options
author | IBNobody <ibnobody@gmail.com> | 2016-09-03 11:52:55 -0500 |
---|---|---|
committer | IBNobody <ibnobody@gmail.com> | 2016-09-03 11:52:55 -0500 |
commit | c20540984ed0e9d9f445a8e6cb82d97f52e7a352 (patch) | |
tree | bfe81eef5f6d5c1e856f408ba255afb0cd75c075 /quantum/process_keycode | |
parent | 6da0eb2b2b70d7b2c5bb1f7c6898f7d9a275ceea (diff) | |
parent | e28d151a8a1d458f3c18897c6095decc17b0c3a1 (diff) |
Merge remote-tracking branch 'refs/remotes/jackhumbert/master'
Diffstat (limited to 'quantum/process_keycode')
-rw-r--r-- | quantum/process_keycode/process_unicode.c | 4 | ||||
-rw-r--r-- | quantum/process_keycode/process_unicode.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/quantum/process_keycode/process_unicode.c b/quantum/process_keycode/process_unicode.c index 06c1694f2e..a5d7dca21e 100644 --- a/quantum/process_keycode/process_unicode.c +++ b/quantum/process_keycode/process_unicode.c @@ -18,6 +18,10 @@ void set_unicode_input_mode(uint8_t os_target) input_mode = os_target; } +uint8_t get_unicode_input_mode(void) { + return input_mode; +} + __attribute__((weak)) void unicode_input_start (void) { switch(input_mode) { diff --git a/quantum/process_keycode/process_unicode.h b/quantum/process_keycode/process_unicode.h index 02ce3dd7e0..27f8072ee6 100644 --- a/quantum/process_keycode/process_unicode.h +++ b/quantum/process_keycode/process_unicode.h @@ -13,6 +13,7 @@ #endif void set_unicode_input_mode(uint8_t os_target); +uint8_t get_unicode_input_mode(void); void unicode_input_start(void); void unicode_input_finish(void); void register_hex(uint16_t hex); |