I am building a special low radiation keyboard.
Every single key is properly registered, and if I send the characters I decode through the serial interface, the correct show up on the serial monitor. Including the non-US characters (Danish).
If I send the very same characters through the Keyboard interface ( Keyboard.write(Key); ) Characters a-z, A-Z and 0-9 all work fine.
Backspace, Enter, arrows, Home, End etc all seem to work.
The more 'strange' characters, however, may be there, but on the wrong keys! Or not at all.
Comma and decimal point do come through correctly, but adding shift give me, what fits an US- keyboard (< and >). On a DK keyboard, however, and the characters I actually do put into Key before transmitting, are ; and :.
The data I put into the Key parameter is the correct Ascii value for the character, I want to transmit, but Arduino seems to have its own mind about what to transmit.
How to get around this, or can Arduino not handle anything but specifically US layout?
Is it actually something else, the Keyboard module transmits?
Where to find a translation?
That fits a non-US keyboard! They are sort of hard to get by on this side of the Atlantic!
My hardware is a clone of Pro Micro (32u4 chip)
My device is to work on a Chromebook and under Windows. With or without extended character set enabled. The keyboard do have DK character keys, but they may not be used. Normal US keyboard characters must be handled from the keys showing them. NOT where an American would like them to be!
I use an old keyboard with all electronics stripped out, thus only the key matrix. Decoding (passive scanning) is done by my code and some special hardware!