summaryrefslogtreecommitdiffstats
path: root/quantum/process_keycode/process_unicode.h
diff options
context:
space:
mode:
authorGergely Nagy <algernon@madhouse-project.org>2016-08-31 08:21:52 +0200
committerGergely Nagy <algernon@madhouse-project.org>2016-08-31 08:21:52 +0200
commitc9ea236fc35d350c0ff33de0af84d3dee7d0eb95 (patch)
treebfe81eef5f6d5c1e856f408ba255afb0cd75c075 /quantum/process_keycode/process_unicode.h
parent27f9671a3ee331b82fff6324a8f73681521ec07a (diff)
downloadqmk_firmware-c9ea236fc35d350c0ff33de0af84d3dee7d0eb95.tar.gz
qmk_firmware-c9ea236fc35d350c0ff33de0af84d3dee7d0eb95.tar.xz
process_unicode: Add get_unicode_input_mode()
There may be cases where one would like to know the current Unicode input mode, without having to keep track of it themselves. Add a function that does just this. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Diffstat (limited to 'quantum/process_keycode/process_unicode.h')
-rw-r--r--quantum/process_keycode/process_unicode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/quantum/process_keycode/process_unicode.h b/quantum/process_keycode/process_unicode.h
index 02ce3dd7e..27f8072ee 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);