Hello everyone,
I'm in need of the community's help for setting up my Arduino Leonardo keyboard. First off, my keyboard/arduino is going to simulate the guitar controller(which I've made one myself) for the "Giutar Hero" game, more precisely "Clone Hero" (I'm playing on pc). For every key on the guitar I've managed to bind it to a letter on the keyboard, for example, the green button is the letter "y", the red button in the letter "x" and so on. My code is pretty simple(which I'm going to upload) but the problem is I can't press two keys simultaneously, for example if I try to press "yx" together(because the game has double key presses), the arduino reads only one letter...
How can I insert in my code the possibility when i press two keys together, they both turn on.
sketch_apr18a.ino (970 Bytes)