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
This commit is contained in:
fauxpark
2019-07-16 16:15:07 +10:00
committed by Florian Didron
parent 0b25414aec
commit e8de784425
12 changed files with 531 additions and 272 deletions
+3 -3
View File
@@ -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);