-
Notifications
You must be signed in to change notification settings - Fork 14
Keyboard handling #26
Copy link
Copy link
Open
Description
https://github.com/techcompliant/TC-Specs/blob/master/Input/keyboard.md
How do we handle non-QWERTY keyboards? On my AZERTY keyboard, 0-9 is entered by pressing Shift. Same thing for all the symbols. Additionally, I'm not sure that "ASCII letters are uppercase when either shift or control are held down." is sound. In the real world, it's the OS which converts from key code to ascii using a QWERTY or ASCII charmap. I see two solutions:
- we keep the current spec, but certain combinations of keys becomes impossible, like SHIFT + 1 on QUERTY
- we change it to the real world behaviour, and the program has to do the mapping. Maybe then the keyboard could have a new int to get raw keys vs layout-mapped keys. Additionally, we could restrict the keyboard layout to QUERTY only
What do you think?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels