tiny-pilot / tinypilot

Use your Raspberry Pi as a browser-based KVM.
https://tinypilotkvm.com
MIT License
3.07k stars 259 forks source link

Adding Support for German Keyboard Layout when pasting - Dusty diamond/issue1830 #1837

Closed DustyDiamond closed 3 months ago

DustyDiamond commented 3 months ago

Hi, I added the translation table for German Special Characters. The Manual definition of ALT_GR here 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.

I also fixed some wrong paths in various check and install scripts to be able to test it on a pi.

I don't know engough about git/github and PRs, but you can look into the edits (mostly small errors probably due to directories being moved sometime) and I guess you can just approve/take over the edits to the hid-related stuff only if you want.

For an Quick overview for anyone later reading this, this would support the following special Characters:

!"§$%&(){}[]/+*#'-_.:,;äöüÄÖÜ<>|€?ß\~`´

Greetings from Germany :) Review on CodeApprove