summaryrefslogtreecommitdiff
path: root/quantum/quantum.h
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-07-16 16:15:07 +1000
committerFlorian Didron <fdidron@users.noreply.github.com>2019-07-19 10:08:53 +0900
commite8de78442568925afd45eecc5a5a70acd606fc6e (patch)
tree796a1720f44f247a94dc1e8f8695713ab804c405 /quantum/quantum.h
parent0b25414aec69aa0651daf69a6c7498273c4bcf1a (diff)
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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/quantum.h b/quantum/quantum.h
index b278983ac1..bf1814e49f 100644
--- a/quantum/quantum.h
+++ b/quantum/quantum.h
@@ -201,9 +201,9 @@ extern uint32_t default_layer_state;
#define SEND_STRING(string) send_string_P(PSTR(string))
-extern const bool ascii_to_shift_lut[0x80];
-extern const bool ascii_to_altgr_lut[0x80];
-extern const uint8_t ascii_to_keycode_lut[0x80];
+extern const bool ascii_to_shift_lut[128];
+extern const bool ascii_to_altgr_lut[128];
+extern const uint8_t ascii_to_keycode_lut[128];
void send_string(const char *str);
void send_string_with_delay(const char *str, uint8_t interval);