1
0
Fork 0

Merge pull request #1431 from rai-suta/master

Bugg fix and add keymap for testing JIS_KEYCODE switch.
This commit is contained in:
Jack Humbert 2017-06-25 21:31:10 -04:00 committed by GitHub
commit d1fb8d2296
5 changed files with 147 additions and 1 deletions

View file

@ -530,7 +530,7 @@ void send_string(const char *str) {
shift = false;
}
else {
int hi = ascii_code>>4 & 0x0f;
int hi = ascii_code>>4 & 0x0f,
lo = ascii_code & 0x0f;
keycode = pgm_read_byte(&ascii_to_keycode_lut[hi][lo]);
shift = !!( pgm_read_word(&ascii_to_shift_lut[hi]) & (0x8000u>>lo) );