No0ne / hid2cdc

USB keyboard to USB CDC converter using a Raspberry Pi Pico
MIT License
5 stars 2 forks source link

Swedish keyboard? #4

Open PlutoNisse opened 7 months ago

PlutoNisse commented 7 months ago

This is a very interesting possibility for getting keyboards from our region (Sweden/Finland) to co-operate with PicoMiteVGA. It is mostly the non-alphabetic signs that make the use of PicoMiteVGA problematic with our keyboards. (Stickers on most of the keys is not very pleasant!) Would it also be possible to get the Swedish keybord included?

No0ne commented 7 months ago

Please try the UF2 attached. hid2cdc-swe.zip

robert-rozee commented 7 months ago

how is Swedish selected? in this test version does it replace German?

cheers, rob :-)

No0ne commented 7 months ago

Its currently default on, I have to think about a jumperless configuration if more variations are added.

robert-rozee commented 7 months ago

how about using a keyboard sequence to select it: ctrl-alt-1 --> English US ctrl-alt-2 --> German ctrl-alt-3 --> Swedish ctrl-alt-0 --> save current language selection to flash

if more that 9 keyboard languages are eventually needed, for additional ones use crtl-alt-A, -B, -C, etc., or ctrl-alt-shift-1, -2, -3, etc.

cheers, rob :-)

PlutoNisse commented 7 months ago

Tested the Swedish keyboard version. Works perfectly. Now I get all the needed special characters from the correct keys. Tested with two different USB-hubs. USB 2.0 hub worked while the tested USB 3.0 hub did not work. This is absolutely fine for me! Added pictures of the two hubs https://www.thebackshed.com/forum/ViewTopic.php?TID=16545&P=5#215915. THANKS!

No0ne commented 6 months ago

Will get rid of the jumpers using this: https://no0ne.github.io/hid2cdc/ (work in progress, flashing the config doesn't do anything at the moment)

robert-rozee commented 6 months ago

it would be nice to be able to set language, etc directly from the keyboard (such as changing with ctrl-alt-n) without needing to go through the process of upload anything. the RP2040 SDK should contain examples of reading/writing to flash from within running code..

cheers, rob :-)

No0ne commented 6 months ago

Shure I will do this additionally. Its a proof of concept and will need this for a mapping table here: https://github.com/No0ne/ps2x2pico/issues/23