Closed ITHzWANip closed 6 years ago
Hi @ITHzWANip, are you sure that when you change "r"
to 'r'
, the bug doesn't happen ?
What you're explaining make me think more about an Arduino power issue, like rebooting continuously and spamming <enter>
...
yea i would screen cap it but for whatever reason when i have my recording software up it wont replicate. But I've tested it multiple times and 'r' works over "r" every time. My theory was that any press needs to be in single quotes but that was not reliable in my testing. It might just be the board im using. Its the pro micro.
I noticed the double quotes are passed in the keyArray parameter of the module's computeKeys callback. For the Digispark module I already needed to strip these double quotes, as characters need to be converted to constants ( 'a' becomes KEY_A, etc.) Would it be an idea to omit the double quotes and have the board module decide how to format the character?
@nixublx Yep I'll do that ^^
For the v2.1, and I'll make per module locale selection by merging LocaleKeyboard.js in Duckuino ^^ @Plazmaz Do you agree with these changes ?
@Nurrl Yep, sounds good
@Plazmaz Great ^^
Added in TO-DO, closing issue !
The issue is with the
Keyboard.press("r");
ther
should be in single quotations likeKeyboard.press('r');
. Using the double quotations caused every icon on my desktop to continuously open untill I unplugged the Arduino.Input code:
Output code: