AtomicFrontierCode/keyboards

Adjust to different Keyboard Layouts

4Source opened this issue · 2 comments

What do I have to change to use a different keyboard layout, e.g. In Germany we don't use QWERTY, but QWERTZ and also have some special characters.

I haven't looked too much into it, but just to point you in the right(?) direction, by default the layout being used is "traditionalLayoutMap" you can modify it to add/remove/move keys, or use it as a template to create your own. And you'd need to add any extra characters to "letterList" and modify "keyMapDict" accordingly. I think that should be enough to get a custom layout running.

in the code you can define a keyboard if it has the same amount of registered keys (46 from ~ to ?) if you define which keys are where there you can compare against that keyboard genome