summaryrefslogtreecommitdiffstats
path: root/quantum/process_keycode/process_unicode.h
diff options
context:
space:
mode:
authorGergely Nagy <algernon@madhouse-project.org>2016-08-15 10:07:13 +0200
committerGergely Nagy <algernon@madhouse-project.org>2016-08-15 10:08:53 +0200
commite8845f0daf8dc7a7674dc5420cc5a684bbbea09b (patch)
tree5bd1d52f6a727aa4db5eda54979a1621d924ec14 /quantum/process_keycode/process_unicode.h
parent43d08629cf275d0b32281ffe8785258fff226b49 (diff)
downloadqmk_firmware-e8845f0daf8dc7a7674dc5420cc5a684bbbea09b.tar.gz
qmk_firmware-e8845f0daf8dc7a7674dc5420cc5a684bbbea09b.tar.xz
process_unicode: Introduce a slight delay
When entering unicode codes, use some delay, so the OS has time to process the information. This is not needed on all systems, but some seem to require it. 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/process_keycode/process_unicode.h b/quantum/process_keycode/process_unicode.h
index be24ddc2b..85364e8eb 100644
--- a/quantum/process_keycode/process_unicode.h
+++ b/quantum/process_keycode/process_unicode.h
@@ -8,6 +8,10 @@
#define UC_WIN 2
#define UC_BSD 3
+#ifndef UNICODE_TYPE_DELAY
+#define UNICODE_TYPE_DELAY 10
+#endif
+
void set_unicode_input_mode(uint8_t os_target);
void unicode_input_start(void);
void unicode_input_finish(void);