aboutsummaryrefslogtreecommitdiff
path: root/quantum/send_string.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-03-12 18:03:44 +1100
committerGitHub <noreply@github.com>2021-03-12 18:03:44 +1100
commit88dce243750d9e80948cd7262566182018d7bbdf (patch)
tree01fef7490b57303772b58c6cd0986c6d38b372f5 /quantum/send_string.h
parentea2a7c5ea4c4509ea7008a835eb9b98b0b1c05d6 (diff)
downloadqmk_firmware-88dce243750d9e80948cd7262566182018d7bbdf.tar.gz
qmk_firmware-88dce243750d9e80948cd7262566182018d7bbdf.zip
Remove hex_to_keycode and move tap_random_base64 to send_string.c (#12079)
Diffstat (limited to 'quantum/send_string.h')
-rw-r--r--quantum/send_string.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/quantum/send_string.h b/quantum/send_string.h
index 570522eb0..b90e6f689 100644
--- a/quantum/send_string.h
+++ b/quantum/send_string.h
@@ -23,10 +23,10 @@
23#define SEND_STRING_DELAY(string, interval) send_string_with_delay_P(PSTR(string), interval) 23#define SEND_STRING_DELAY(string, interval) send_string_with_delay_P(PSTR(string), interval)
24 24
25// Look-Up Tables (LUTs) to convert ASCII character to keycode sequence. 25// Look-Up Tables (LUTs) to convert ASCII character to keycode sequence.
26extern const uint8_t ascii_to_keycode_lut[128];
27extern const uint8_t ascii_to_shift_lut[16]; 26extern const uint8_t ascii_to_shift_lut[16];
28extern const uint8_t ascii_to_altgr_lut[16]; 27extern const uint8_t ascii_to_altgr_lut[16];
29extern const uint8_t ascii_to_dead_lut[16]; 28extern const uint8_t ascii_to_dead_lut[16];
29extern const uint8_t ascii_to_keycode_lut[128];
30 30
31// clang-format off 31// clang-format off
32#define KCLUT_ENTRY(a, b, c, d, e, f, g, h) \ 32#define KCLUT_ENTRY(a, b, c, d, e, f, g, h) \
@@ -45,3 +45,10 @@ void send_string_with_delay(const char *str, uint8_t interval);
45void send_string_P(const char *str); 45void send_string_P(const char *str);
46void send_string_with_delay_P(const char *str, uint8_t interval); 46void send_string_with_delay_P(const char *str, uint8_t interval);
47void send_char(char ascii_code); 47void send_char(char ascii_code);
48
49void send_dword(uint32_t number);
50void send_word(uint16_t number);
51void send_byte(uint8_t number);
52void send_nibble(uint8_t number);
53
54void tap_random_base64(void);