Teensy: Keyboard vs Joystick Decision
Posted: Thu May 05, 2016 11:51 pm
@Wermy
As I was testing the Teensy using my "chiz-built common ground dmg button", I came to realize that since the Teensy was programmed as USB keyboard rather than a USB controller/gamepad, it would only register one keypress at a time and will not allow more than two buttons held down at the same time. I noticed this immediately because as you know, I was testing my setup using a knock-off game pad until I fried it and I was trying a game and immediately I noticed that I can't get to move diagonally -- something that a USB game pad would allow.
I tried reprogramming the Teensy as a USB game pad and as I confirmed, it will now allow simultaneous key presses. See pics below.
I want to leave the Teensy programmed as a USB keyboard as diagonal movements is important for me, think arcade shoot-em up games. I wonder though if you have a specific reason why you chose to implement the Teensy as USB keyboard rather than a USB game pad. Perhaps I'm overlooking something.
This is my "chiz-built common ground dmg button"
working as USB keyboard.

And here it is once again, working as USB game pad. Notice that I'm holding two buttons at once and the joystick properties showing two buttons being held.

As I was testing the Teensy using my "chiz-built common ground dmg button", I came to realize that since the Teensy was programmed as USB keyboard rather than a USB controller/gamepad, it would only register one keypress at a time and will not allow more than two buttons held down at the same time. I noticed this immediately because as you know, I was testing my setup using a knock-off game pad until I fried it and I was trying a game and immediately I noticed that I can't get to move diagonally -- something that a USB game pad would allow.
I tried reprogramming the Teensy as a USB game pad and as I confirmed, it will now allow simultaneous key presses. See pics below.
I want to leave the Teensy programmed as a USB keyboard as diagonal movements is important for me, think arcade shoot-em up games. I wonder though if you have a specific reason why you chose to implement the Teensy as USB keyboard rather than a USB game pad. Perhaps I'm overlooking something.
This is my "chiz-built common ground dmg button"


And here it is once again, working as USB game pad. Notice that I'm holding two buttons at once and the joystick properties showing two buttons being held.
