3 ms·
It's more important to use the correct API in the first place. For example, inside a browser KeyboardEvent.code is based on the location of the key. No layout
by Dylan16807 5y ago
It's more important to use the correct API in the first place. For example, inside a browser KeyboardEvent.code is based on the location of the key. No layout-based rebinding should be needed.
(Rebinding is still nice in general, of course.)
- codetrotter 5y ago> No layout-based rebinding should be needed. Not always the case ಠ‿ಠ I am using a programmable keyboard that does the layout in the keyboard firmware, and therefore you can’t actually tell the physical position of the keys I am using from the key code.
- Dylan16807 5y agoIs that allowed by the keyboard specifications? If you break the mapping on purpose I have some sympathy but not nearly as much as "oh no this only works on qwerty".