mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-10 18:49:08 +00:00
Merge pull request #707 from algernon/f/unicode/get-mode
process_unicode: Add get_unicode_input_mode()
This commit is contained in:
commit
e28d151a8a
2 changed files with 5 additions and 0 deletions
|
@ -18,6 +18,10 @@ void set_unicode_input_mode(uint8_t os_target)
|
||||||
input_mode = os_target;
|
input_mode = os_target;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
uint8_t get_unicode_input_mode(void) {
|
||||||
|
return input_mode;
|
||||||
|
}
|
||||||
|
|
||||||
__attribute__((weak))
|
__attribute__((weak))
|
||||||
void unicode_input_start (void) {
|
void unicode_input_start (void) {
|
||||||
switch(input_mode) {
|
switch(input_mode) {
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void set_unicode_input_mode(uint8_t os_target);
|
void set_unicode_input_mode(uint8_t os_target);
|
||||||
|
uint8_t get_unicode_input_mode(void);
|
||||||
void unicode_input_start(void);
|
void unicode_input_start(void);
|
||||||
void unicode_input_finish(void);
|
void unicode_input_finish(void);
|
||||||
void register_hex(uint16_t hex);
|
void register_hex(uint16_t hex);
|
||||||
|
|
Loading…
Reference in a new issue