diff options
author | Ryan <fauxpark@gmail.com> | 2021-03-12 18:03:44 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-12 18:03:44 +1100 |
commit | 88dce243750d9e80948cd7262566182018d7bbdf (patch) | |
tree | 01fef7490b57303772b58c6cd0986c6d38b372f5 /quantum/process_keycode | |
parent | ea2a7c5ea4c4509ea7008a835eb9b98b0b1c05d6 (diff) |
Remove hex_to_keycode and move tap_random_base64 to send_string.c (#12079)
Diffstat (limited to 'quantum/process_keycode')
-rw-r--r-- | quantum/process_keycode/process_unicode_common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/process_keycode/process_unicode_common.c b/quantum/process_keycode/process_unicode_common.c index bac9fbcc0f..46fcaaa86b 100644 --- a/quantum/process_keycode/process_unicode_common.c +++ b/quantum/process_keycode/process_unicode_common.c @@ -158,7 +158,7 @@ __attribute__((weak)) void unicode_input_cancel(void) { void register_hex(uint16_t hex) { for (int i = 3; i >= 0; i--) { uint8_t digit = ((hex >> (i * 4)) & 0xF); - tap_code16(hex_to_keycode(digit)); + send_nibble(digit); } } @@ -171,10 +171,10 @@ void register_hex32(uint32_t hex) { uint8_t digit = ((hex >> (i * 4)) & 0xF); if (digit == 0) { if (!onzerostart) { - tap_code16(hex_to_keycode(digit)); + send_nibble(digit); } } else { - tap_code16(hex_to_keycode(digit)); + send_nibble(digit); onzerostart = false; } } |