Arduino Leonardo as Keyboard

Hi all,

I'm making an arcade machine for the game Divekick. I'm using a Leonardo as a Keyboard to play the game which is running on a PC. I have built 2 buttons for each player, but am now having problems with the code. So far the game has not been able to recognise when two buttons are pressed at the same time (ie two keys being pressed at the same time). This is a requirement to play this game, so does anybody have any ideas?

Thanks in advance,

Seth

am now having problems with the code.

You seem to have forgotten that we can NOT see your code!

cazzoseth: So far the game has not been able to recognise when two buttons are pressed at the same time (ie two keys being pressed at the same time). This is a requirement to play this game, so does anybody have any ideas?

Use Keyboard.press() and Keyboard.release() instead of Keyboard.write() or Keyboard.print()?