Answer the question
In order to leave comments, you need to log in
How to type in English text?
I wrote a simple code:
#include <Keyboard.h>
void setup() {
Keyboard.begin();
}
void loop() {
Keyboard.write(114);
delay(10000);
}
Answer the question
In order to leave comments, you need to log in
In general, I didn’t find anything sensible on the Internet, but I came across the idea of ALT codes, which does not depend on the layout. Wrote my little ducky parser using this github idea
Only the arduino code does not. The code of the pressed key does not depend on the layout, it is the program that determines which letter you pressed. Therefore, you can do this: in the Windows settings, write ctrl + shift - Russian, alt + shift - English. Then if you press ctrl + shift before printing, the language will become Russian and the goal is achieved. On an unprepared computer, I think it's impossible.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question