Hi,
I’ve been using Etherkey (GitHub - Flowm/etherkey) (modified from Teensy to Arduino) to program a Leonardo Arduino so that a computer can connect to it using a USB-serial interface, and send keypresses via a USB lead to another connected computer using the HID functionality. Another post showed me how to adapt the code to compile using PlatformIO (GitHub - maxgerhardt/etherkey).
I’m trying to modify Etherkey so that the keypresses sent from one machine to another are interpreted as intended when the machines have different keyboard layouts. In particular typing on UK keyboard layout, sensing keypresses to a computer with a French keyboard layout. I can’t change the target system’s language in this application.
Could someone please clarify if the Arduino is assuming a US layout? I think that Arduino keycodes are used, rather than ASCII, but maybe the serial interface restricts to ASCII?
I’ve searched a lot, and raised this question on the project github page, but not made much progress. I found GitHub - NicoHood/HID which might be useful?
Or would a different project be an easier starting point, eg GitHub - zfortier/arduino_keyboard_emulator
Any help gratefully received.
BW,
A