MichaelDworkin / KeyboardMultiLanguage

14 stars 2 forks source link

German Tranlation Table broken? #3

Open bernhardg2 opened 5 years ago

bernhardg2 commented 5 years ago

Hi all, I've tried the actual version of the lib and it fails rather basically. Using the KeyboardGerman example from here I tried it out with

Result is the same: It should "print" or rather send the keystrokes: abc öÖäÄüÜ ß XYZ q@e€mµ Ich kann Glas essen, ohne mir zu schaden.

It does send: abc ö'äÖü`ß WZX qøeç≠m∆ Hch kann Flas essen, ohne mir zu schaden.

So it seems that some values are shifted, others not. Any idea what goes on here? It woud be fantastic to have that working! Best Regards Bernhard

MichaelDworkin commented 5 years ago

Hello I had in the German example the wrong character table. Now it is corrected. Please try if it works for you now.

bernhardg2 commented 5 years ago

Hello Michael, confirmation: tested on Win10 Box: Example German Keyboard works completely. super job and thanks for the quick action. Helped me a lot!

One thing for others to know: @, as well as the bigger/smaller_than keys don't work on Mac, bc the keyboard works differently there (ALT+L for @). But that's a Mac oddity and has nothing to do with this lib (tested with German only).

Over all: fantastic contribution Michael! This makes the Arduino Keyboard / HID functionality usable for all those people that don't have US layout. And that's the majority of mankind as far as I understand. BR Bernhard

bernhardg2 commented 5 years ago

Now after some more investigation it looks to me that the Keyboard Modifiers don't work. I tried KEY_TAB and KEY_RETURN. Both together with Keyboard.print and they don't produce the result intended. Actually just the decimal is keyed (179 for Tab). So: how to send those? If I use Keyboard.write then some other code is sent, for KEY_TAB it's the small upper 3 Thanks in advance

MichaelDworkin commented 5 years ago

Tab key added Keyboard.println("Hallo\t world"); Keyboard.write('\t');