diff options
author | fauxpark <fauxpark@gmail.com> | 2019-07-16 16:15:07 +1000 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2019-07-15 23:15:07 -0700 |
commit | a5ecf146085716f3a79424c2f4b3b3039ff36b3e (patch) | |
tree | e324f9ec4e19e28cb19b6b435edca77fde73e6b1 /quantum/quantum.h | |
parent | 26bbf6a66a6c1f606a64acafec3afdf9d3ad7e96 (diff) | |
download | qmk_firmware-a5ecf146085716f3a79424c2f4b3b3039ff36b3e.tar.gz qmk_firmware-a5ecf146085716f3a79424c2f4b3b3039ff36b3e.zip |
Sendstring LUT improvements (#5727)
* Align sendstring LUTs to 9 characters wide
* Replace 0 with XXXXXXX
* Use decimal 128 for LUT size
* Align heading comments
* Add ASCII table comments
* Add missing AltGr LUTs and adjust keycode LUTs accordingly
* Use pragma once
* Correct a couple more keycodes
* Capitalise "BÉPO"
* Also clean up the default tables
* Tidy up Belgian and Norman LUTs
Diffstat (limited to 'quantum/quantum.h')
-rw-r--r-- | quantum/quantum.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/quantum.h b/quantum/quantum.h index f089c6ef6..56f30624c 100644 --- a/quantum/quantum.h +++ b/quantum/quantum.h | |||
@@ -201,9 +201,9 @@ extern layer_state_t default_layer_state; | |||
201 | 201 | ||
202 | #define SEND_STRING(string) send_string_P(PSTR(string)) | 202 | #define SEND_STRING(string) send_string_P(PSTR(string)) |
203 | 203 | ||
204 | extern const bool ascii_to_shift_lut[0x80]; | 204 | extern const bool ascii_to_shift_lut[128]; |
205 | extern const bool ascii_to_altgr_lut[0x80]; | 205 | extern const bool ascii_to_altgr_lut[128]; |
206 | extern const uint8_t ascii_to_keycode_lut[0x80]; | 206 | extern const uint8_t ascii_to_keycode_lut[128]; |
207 | 207 | ||
208 | void send_string(const char *str); | 208 | void send_string(const char *str); |
209 | void send_string_with_delay(const char *str, uint8_t interval); | 209 | void send_string_with_delay(const char *str, uint8_t interval); |