summaryrefslogtreecommitdiff
path: root/quantum/quantum.h
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-07-16 16:15:07 +1000
committerskullydazed <skullydazed@users.noreply.github.com>2019-07-15 23:15:07 -0700
commita5ecf146085716f3a79424c2f4b3b3039ff36b3e (patch)
treee324f9ec4e19e28cb19b6b435edca77fde73e6b1 /quantum/quantum.h
parent26bbf6a66a6c1f606a64acafec3afdf9d3ad7e96 (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 f089c6ef64..56f30624c7 100644
--- a/quantum/quantum.h
+++ b/quantum/quantum.h
@@ -201,9 +201,9 @@ extern layer_state_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);