Closed d4n5h closed 8 years ago
I added support of REM and ESCAPE and i'll add REPEAT soon, your compiler is totally buggy:
Keyboard.press('KEY_LEFT_CTRL');Keyboard.press('KEY_LEFT_ALT');Keyboard.press('TEST'); delay(50); Keyboard.release('KEY_LEFT_CTRL);Keyboard.release('KEY_LEFT_ALT);Keyboard.release('TEST);
Note: Look the last key release, there isn't closing single quote. Note 2 : As you see there is single quotes, but KEY are constants so we MUSN'T use quotes._
@DanielShlomo
Updated @DanielShlomo @Plazmaz
Alright, going to step in here. Two options for both of you:
I apologize, i think you can both and allright xD
Either way, I will remove the current notice once this is resolved.
Sorry, that kinda immature x) Ok i'll try to help for your project @DanielShlomo.
How did arrived here lel x)
@Thecakeisgit Okay so in that case, you want me to put his repo on the front page in place of yours?
No both ^^
Alright, is that okay with you @DanielShlomo?
Wait wait wait... His project is a fork of yours... Why not just merge his branch and add him as a contributor?
Lets just make one git be better. I don't really care for my credit, as it's not that important to me. Let's just merge everything in your git as it is getting more attention.
Because i'm not in accord with some of his changes ^^
So fix it and put it on your git.... i'm not stopping you from fixing issues...
Ok i'll see ^^ But i prefer if you put issues on my repo ^^ Of what can i change to make the code better, because i like the way i made it ^^ Just i don't understand where my for loops are redundants xD
What exactly you don't understand? My code does more with less lines and with less memory being used. Simple.
Ok i'll see and fix into my repo :D Alright ?
Sure np
Ok done @Plazmaz remove this freaking issue x)
Here you go, i fixed everything you've pointed out. Fixed indentation. Fixed constants. Even the useless strings in combos "bug" that you found... Now you can do "CTRL ALT TEST" or even "CTRL ALT This is useless"
And i don't care for political correctness. I care for making things better. if my "tone" puts you off then that's your problem. I don't really care. When you contacted me and pointed out issues and fixes for the code i treated you with respect, But when you just listed issues (most of them are non-issue) like a douche, while you could just suggest me fixes i became impatient with you...
My compiler is better than Thecakegit's compiler: https://github.com/DanielShlomo/Duckuino
As your git is getting more attention it will be better if you'll switch to my compiler/converter.
Changes: Added support for: REM,ESCAPE and REPLAY/REPEAT. Added support for mouse movements and clicks ("MOUSEMOVE xPos,yPos,wheelPos" | "MOUSECLICK left/right/middle"). Fixed empty lines bug. Rearranged the code and files. Added simple Bootstrap CDN UI. Switched to associative arrays/objects to reduce the use of For loops. Added functionality for key combos. Removed console.error for comands (i'll try to reimplement it back again).