I'm currently trying to make my own "rubber ducky" (just to annoy my friends), and now I've encountered a weird problem:
When I run:
Keyboard.print('"');
or
Keyboard.print(" " ");
I get either an @(US layout) or an Ä (German layout) instead of the expected ".
How do I solve this?
PaulS:
Have you tried
Keyboard.print("\"");
Sorry, small typo,
yeah, thats what i tried.
The Arduino "Keyboard" acts as a US keyboard. It should work correctly if your keyboard layout is set to US.
If you use an Arduino (or other US keyboard) on a system set for a German keyboard layout, the double-quote key (two to the right of the L key) will be treated like the Ä key on the German layout.
The @ is what you would get if you use a German keyboard and US layout. You type double-quote (Shift-2) on the German keyboard and get the US 'Shift 2' which is @.