Commit Graph

261 Commits

Author SHA1 Message Date
Ryan 194bc7a7e1 Add Slovak keymap and sendstring LUT (#8561) 2020-04-01 14:01:24 +11:00
Ryan fec4283022 Add Serbian keymaps and sendstring LUT (#8560)
* Add Serbian keymaps and sendstring LUT

* Apply suggestions from code review

Co-Authored-By: Konstantin Đorđević <vomindoraan@gmail.com>

* Fix formatting

Co-authored-by: Konstantin Đorđević <vomindoraan@gmail.com>
2020-04-01 14:01:01 +11:00
Ryan 17af712b7c Add Lithuanian keymap and sendstring LUT (#8562)
* Add Lithuanian keymap and sendstring LUT

* Add Lithuanian AZERTY
2020-04-01 14:00:34 +11:00
Ryan 712ded1f2f Add Latvian keymap and sendstring LUT (#8563) 2020-04-01 14:00:02 +11:00
Drashna Jaelre ed80874f72 Fix IT_APOS backward compatibility define in keymap_italian.h (#8565)
* Fix IT_APOS backward compatibility define in keymap_italian.h

Found by ZSA.
2020-03-27 09:44:06 +11:00
Florian Didron 3ee8f43fd5 fix: prefix norwegian keycodes with NRW_ (#295) 2020-03-26 00:36:56 -07:00
Ryan 981ea87b05 Add Estonian keymap (#8527) 2020-03-26 16:51:07 +11:00
Ryan 65252ebf67 Add Croatian keymap (#8525)
* Add Croatian keymap

* Fix comment on HR_DIAE
2020-03-26 16:50:39 +11:00
Ryan 456da3897f Add Irish keymap (#8528) 2020-03-24 16:04:05 +09:00
Ryan 3847cb5858 Add Czech keymap (#8526) 2020-03-24 16:04:05 +09:00
Ryan 155cec398d Add US International keymap (#8493)
* Add US International keymap

* Add extra spacing to UK AltGr keycode comments
2020-03-24 16:04:05 +09:00
Ryan c7a4d68457 Add Icelandic keymap and sendstring LUT (#8494) 2020-03-24 16:04:05 +09:00
Ryan ff2dbaa012 Add Finnish keymap and sendstring LUT (#8495) 2020-03-24 16:04:05 +09:00
Ryan 4aeaea515f Update JIS keymap and sendstring LUT (#8457) 2020-03-24 16:04:05 +09:00
Ryan 7f4088c937 Fix missing deprecated keycodes for keymap_swedish (#8483) 2020-03-24 16:04:05 +09:00
Ryan 94aa9a48bf Update Programmer Dvorak keymap and add sendstring LUT (#8456)
* Update Programmer Dvorak keymap and add sendstring LUT

* Include quantum.h
2020-03-24 16:04:05 +09:00
Ryan 9e09acfa3d Update UK keymap and sendstring LUT (#8458) 2020-03-24 16:04:05 +09:00
Ryan 3dfd906390 Update Italian keymap and add sendstring LUT (#8438) 2020-03-24 16:04:05 +09:00
Ryan 2ddc8d7746 Update German keymap and sendstring LUT (#8437) 2020-03-24 16:04:05 +09:00
Ryan cac0d749ed Update French keymap and sendstring LUT (#8436) 2020-03-24 16:04:05 +09:00
Ryan 1416666022 Update Brazilian keymap and add sendstring LUT (#8435) 2020-03-24 16:04:05 +09:00
Ryan 4fc42d04a3 Update Belgian keymap and sendstring LUT (#8349) 2020-03-24 16:04:05 +09:00
Ryan 269f772b7c Update Slovenian keymap and add sendstring LUT (#8350) 2020-03-24 16:04:05 +09:00
Ryan 4bb25deceb Update Norman keymap and sendstring LUT (#8404) 2020-03-24 16:04:05 +09:00
Ryan f896a2cd12 Update Plover keymap (#8405) 2020-03-24 16:04:05 +09:00
Luís Oliveira 45c70f889c Add Portuguese keymap and sendstring lookup tables (#8390)
* Add Portuguese keymap and sendstring lookup tables

* Update quantum/keymap_extras/keymap_portuguese.h

Co-Authored-By: Ryan <fauxpark@gmail.com>

* Update quantum/keymap_extras/keymap_portuguese.h

Co-Authored-By: Ryan <fauxpark@gmail.com>

* Update quantum/keymap_extras/keymap_portuguese.h

Co-Authored-By: Ryan <fauxpark@gmail.com>

* Update quantum/keymap_extras/keymap_portuguese.h

Co-Authored-By: Ryan <fauxpark@gmail.com>

* Update quantum/keymap_extras/keymap_portuguese.h

Co-Authored-By: Ryan <fauxpark@gmail.com>

* Update quantum/keymap_extras/keymap_portuguese.h

Co-Authored-By: Ryan <fauxpark@gmail.com>

Co-authored-by: Ryan <fauxpark@gmail.com>
2020-03-24 16:04:05 +09:00
Ryan 12aabf12bf Update Swedish keymap and add sendstring LUT (#8365) 2020-03-24 16:04:05 +09:00
Ryan 97da465d4d Update Spanish keymap and sendstring LUT (#8364) 2020-03-24 16:04:05 +09:00
Ryan 86b6a5553e Update Dvorak, Colemak and Workman keycode aliases (#8217)
* Update Dvorak, Colemak and Workman keycode aliases

* Add missing shifted keycode aliases for Workman
2020-03-24 16:04:05 +09:00
Ryan ebd211b7b0 Update Norwegian keymap and add sendstring LUT (#8300) 2020-03-24 16:04:05 +09:00
Ryan 155fa9fcd3 Update Hungarian keymap and add sendstring LUT (#8220) 2020-03-24 16:04:05 +09:00
Ted M Lin 6f1f085b2d Reduce PROGMEM usage for sendstring LUT (#8109)
* Reduce PROGMEM usage for keycode map

Bit-pack the keycode bool array to gain back a small amount of flash space.
The trade-off is an increase in runtime instructions when running macros.

It does make the code a bit harder to read, as well as maintain.

For configs that use send_string() et al, it saves ~100 bytes.

* Switch to macro and common definition

Rewrite the array declarations so both the unpacked (original) and
packed LUT arrays can use the same value definitions. This is done by
defining a macro that "knows what to do".

This makes the code much easier to read and maintain.

* Fix macro typos and improve perf

Pack the bits in a more efficient order for extraction.
And also fix the copy/paste error in the macro...

* Switch fully to packed LUT

Some minor reformatting.
Compile tested all sendstring_xyz.h to make sure they were converted
properly. Also checked that an unconverted version would generate a
compile error.

* Apply whitespace suggestions from code review

Co-Authored-By: Ryan <fauxpark@gmail.com>

Co-authored-by: Ryan <fauxpark@gmail.com>
2020-03-24 16:04:05 +09:00
Ryan ff1a52360e Add Danish keymap and sendstring LUT (#8218) 2020-03-24 16:04:05 +09:00
Ryan 9cd5fa0454 Add Turkish keymap aliases and sendstring LUT (#7676)
* Add Turkish keymap aliases and sendstring LUT

* Split into F and Q layouts
2020-03-24 16:04:05 +09:00
Ryan 6d1af63842 Add Irish keymap (#8528) 2020-03-22 17:32:43 -07:00
Ryan 6c4a744a1b Add Czech keymap (#8526) 2020-03-22 17:31:19 -07:00
Ryan eef0cb2f90 Add US International keymap (#8493)
* Add US International keymap

* Add extra spacing to UK AltGr keycode comments
2020-03-22 20:45:27 +11:00
Ryan 63e4ad13c8 Add Icelandic keymap and sendstring LUT (#8494) 2020-03-22 20:16:24 +11:00
Ryan f9e67338a4 Add Finnish keymap and sendstring LUT (#8495) 2020-03-22 19:52:54 +11:00
Ryan 5d5ff807c6 Update JIS keymap and sendstring LUT (#8457) 2020-03-20 12:27:52 +11:00
Ryan 6bfbdc30ca Fix missing deprecated keycodes for keymap_swedish (#8483) 2020-03-19 02:13:05 +00:00
Ryan fc4ef6934d Update Programmer Dvorak keymap and add sendstring LUT (#8456)
* Update Programmer Dvorak keymap and add sendstring LUT

* Include quantum.h
2020-03-18 11:11:57 -07:00
Ryan c670240503 Update UK keymap and sendstring LUT (#8458) 2020-03-17 17:09:12 -07:00
Ryan 7aff643031 Update Italian keymap and add sendstring LUT (#8438) 2020-03-16 14:32:48 +00:00
Ryan 7fe4097792 Update German keymap and sendstring LUT (#8437) 2020-03-16 14:31:48 +00:00
Ryan 652f4492d3 Update French keymap and sendstring LUT (#8436) 2020-03-16 14:30:57 +00:00
Ryan 910c466cfe Update Brazilian keymap and add sendstring LUT (#8435) 2020-03-16 14:30:17 +00:00
Ryan 5f1f370463 Update Belgian keymap and sendstring LUT (#8349) 2020-03-16 07:41:34 +11:00
Ryan 49a2fbea0c Update Slovenian keymap and add sendstring LUT (#8350) 2020-03-16 07:40:54 +11:00
Ryan 4b1430fd09 Update Norman keymap and sendstring LUT (#8404) 2020-03-16 07:38:05 +11:00