You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support German (de-DE) keyboard layouts when pasting (#1842)
This PR adds a detection mechanism for the German `de-DE` locale in the
paste feature. In this case, it uses the correct mapping, and ensures
that all characters come through correctly.
## Original PR description
Hi,
I added the translation table for German Special Characters.
The Manual definition of `ALT_GR` is necessary since on german layouts
the `AltGr` Key doesnt behave like the `MODIFIER_RIGHT_ALT`. In
Tinypilot, pressing `AltGr` is interpreted like `Ctrl Left + Alt Right`
which translates to hex `0x41`, but it should be `Ctrl Left + Alt Left`
(Hex `0x05`) to work for German Special Characters.
Closes#1830
For an Quick overview for anyone later reading this, this would support
the following special Characters:
```
!"§$%&(){}[]/+*#'-_.:,;äöüÄÖÜ<>|€?ß\~`´
```
Greetings from Germany :)
<a data-ca-tag
href="https://codeapprove.com/pr/tiny-pilot/tinypilot/1842"><img
src="https://codeapprove.com/external/github-tag-allbg.png" alt="Review
on CodeApprove" /></a>
---------
Co-authored-by: Jan Heuermann <[email protected]>
0 commit comments