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>
2 files changed, 5 insertions(+), 0 deletions(-) M quantum/process_keycode/process_unicode.c M quantum/process_keycode/process_unicode.h
M quantum/process_keycode/process_unicode.c => quantum/process_keycode/process_unicode.c +4 -0
@@ 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) {
M quantum/process_keycode/process_unicode.h => quantum/process_keycode/process_unicode.h +1 -0