diff options
author | Ryan <fauxpark@gmail.com> | 2020-07-03 03:08:19 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-02 18:08:19 +0100 |
commit | 00fc35539d774c43cde383a8d2cc8b254787ce6c (patch) | |
tree | 213e05396453a122df31149b12cb452f8827a845 | |
parent | 65c9da5a657744578cf70b520736221209bf793b (diff) | |
download | firmware-00fc35539d774c43cde383a8d2cc8b254787ce6c.tar.gz firmware-00fc35539d774c43cde383a8d2cc8b254787ce6c.tar.bz2 firmware-00fc35539d774c43cde383a8d2cc8b254787ce6c.zip |
Make sendstring respect `TAP_CODE_DELAY` (#9623)
-rw-r--r-- | quantum/quantum.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index 75df357d3..044a15612 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -438,8 +438,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); @@ -480,8 +479,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); |