We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello! I`m testing this app.
On the one hand I had to change the digispark keyboard library so that the layout of my keyboard matches my system: https://github.com/Dasor/digispark-keyboard-layout-Spanish
I am not able to translate certain characters through the STRING command.
For example: To write ñ I have done the following:
-On android code: added>> s = s.replace('ñ', '\001'); before>> for (char c:s.toCharArray()){ this.btSocket.getOutputStream().write(c); try { Thread.sleep(10); } catch (InterruptedException e) { e.printStackTrace(); } } -On arduino code keyboard.h: ... #define KEY_SEMICOLON 51 ... size_t write(uint8_t chr) { if(chr == '@') { sendKeyStroke(31,MODIFIERKEY_RIGHT_ALT); } else if(chr == '#') { sendKeyStroke(32, MODIFIERKEY_RIGHT_ALT); } else if(chr == 'ñ'){ sendKeyStroke(KEY_SEMICOLON); } ...
That is, replace the character in the sending. And reassign it on receipt prior to writing
I am not able to write other types of characters such as #,€
Can you enlighten me and help me a little to see what is the way to solve it?
Thanks in advance
The text was updated successfully, but these errors were encountered:
fixed all characters except € and ¬. For #, changed # by \000 in Execution engine and ino code.
Sorry, something went wrong.
No branches or pull requests
Hello! I`m testing this app.
On the one hand I had to change the digispark keyboard library so that the layout of my keyboard matches my system:
https://github.com/Dasor/digispark-keyboard-layout-Spanish
I am not able to translate certain characters through the STRING command.
For example: To write ñ I have done the following:
-On android code:
added>> s = s.replace('ñ', '\001');
before>> for (char c:s.toCharArray()){
this.btSocket.getOutputStream().write(c);
try {
Thread.sleep(10);
} catch (InterruptedException e) {
e.printStackTrace();
}
}
-On arduino code keyboard.h:
...
#define KEY_SEMICOLON 51
...
size_t write(uint8_t chr) {
if(chr == '@') {
sendKeyStroke(31,MODIFIERKEY_RIGHT_ALT);
}
else if(chr == '#') {
sendKeyStroke(32, MODIFIERKEY_RIGHT_ALT);
}
else if(chr == 'ñ'){
sendKeyStroke(KEY_SEMICOLON);
}
...
That is, replace the character in the sending. And reassign it on receipt prior to writing
I am not able to write other types of characters such as #,€
Can you enlighten me and help me a little to see what is the way to solve it?
Thanks in advance
The text was updated successfully, but these errors were encountered: