summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-07-03 03:08:19 +1000
committerDrashna Jael're <drashna@live.com>2020-08-08 22:02:13 -0700
commit3fa11d8613535655a22b54714f4b14310a6830a9 (patch)
treeb4f576ec712f5bf1e3b2c0802bc4644ed24bb016
parentf32994a5ee56ccd45dd747a8701a94e46593239e (diff)
Make sendstring respect `TAP_CODE_DELAY` (#9623)
-rw-r--r--quantum/quantum.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index de2ee91707..7f82b8c655 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -448,8 +448,7 @@ void send_string_with_delay(const char *str, uint8_t interval) {
if (ascii_code == SS_TAP_CODE) {
// tap
uint8_t keycode = *(++str);
- register_code(keycode);
- unregister_code(keycode);
+ tap_code(keycode);
} else if (ascii_code == SS_DOWN_CODE) {
// down
uint8_t keycode = *(++str);
@@ -490,8 +489,7 @@ void send_string_with_delay_P(const char *str, uint8_t interval) {
if (ascii_code == SS_TAP_CODE) {
// tap
uint8_t keycode = pgm_read_byte(++str);
- register_code(keycode);
- unregister_code(keycode);
+ tap_code(keycode);
} else if (ascii_code == SS_DOWN_CODE) {
// down
uint8_t keycode = pgm_read_byte(++str);