Teensy: Keyboard vs Joystick Decision
Re: Teensy: Keyboard vs Joystick Decision
@Wermy
I see where you're coming from.
Also, one of the reason (and advantage?) using the Teensy as game pad is you get a different and separate button mapping for actual keyboards and another configuration for game pads. I was disoriented at first when I attached a real USB keyboard and EmulationStation was not responding to the arrow keys. That's when I realized bec. I mapped the "keyboard" mapping to the Teensy which uses the alphabetic characters.
I was trying out the Teensy as USB keyboard initially with Terra Cresta in MAME, and this is where I noticed I can't move diagonally. I will re-flash the Teensy with USB keyboard and will re-visit that game.
@Fleder
[off-topic]
I responded to your USB game pad thread. And again, I'm not totally ditching the idea but will probably go the Teensy route at the moment so I can complete the project but I still consider the USB game pad implementation for a later build.
[/off-topic]
I see where you're coming from.
Also, one of the reason (and advantage?) using the Teensy as game pad is you get a different and separate button mapping for actual keyboards and another configuration for game pads. I was disoriented at first when I attached a real USB keyboard and EmulationStation was not responding to the arrow keys. That's when I realized bec. I mapped the "keyboard" mapping to the Teensy which uses the alphabetic characters.
I was trying out the Teensy as USB keyboard initially with Terra Cresta in MAME, and this is where I noticed I can't move diagonally. I will re-flash the Teensy with USB keyboard and will re-visit that game.
@Fleder
[off-topic]
I responded to your USB game pad thread. And again, I'm not totally ditching the idea but will probably go the Teensy route at the moment so I can complete the project but I still consider the USB game pad implementation for a later build.
[/off-topic]
- Popcorn
- Trailblazer
- Posts: 354
- Joined: Thu May 05, 2016 12:58 am
- Location: Berlin
- Has thanked: 29 times
- Been thanked: 71 times
Re: Teensy: Keyboard vs Joystick Decision
One thing I've noticed is that C64 emulation is impossible without a keyboard. I think this is going to be a deeper question of what emulators we can and can't support using a keyboard vs gamepad. Hmmm
- Robots86
- Posts: 268
- Joined: Thu May 05, 2016 1:18 am
- Location: Birmingham, UK
- Has thanked: 39 times
- Been thanked: 28 times
-
- Posts: 39
- Joined: Thu May 05, 2016 8:54 am
- Has thanked: 1 time
- Been thanked: 1 time
- Fleder
- Posts: 849
- Joined: Thu May 05, 2016 9:04 am
- Location: Germany
- Has thanked: 183 times
- Been thanked: 258 times
Re: Teensy: Keyboard vs Joystick Decision
Or better, sell it to meCandyManCriminal wrote:Frame that board once you replace, it's art

- Robots86
- Posts: 268
- Joined: Thu May 05, 2016 1:18 am
- Location: Birmingham, UK
- Has thanked: 39 times
- Been thanked: 28 times
Re: Teensy: Keyboard vs Joystick Decision
Anybody know how i go about programing the teensy as a gamepad?
- Fleder
- Posts: 849
- Joined: Thu May 05, 2016 9:04 am
- Location: Germany
- Has thanked: 183 times
- Been thanked: 258 times
Re: Teensy: Keyboard vs Joystick Decision
Robots86 wrote:Anybody know how i go about programing the teensy as a gamepad?
chiz wrote:Anyways, regarding the USB game pad code... It's readily available and can be opened in the Arduino IDE under the menu, File -> Examples -> Teensy -> USB_Joystick -> Buttons
Once opened, flash the Teensy without any modifications and your game pad should be immediately detected under Windows.
- Robots86
- Posts: 268
- Joined: Thu May 05, 2016 1:18 am
- Location: Birmingham, UK
- Has thanked: 39 times
- Been thanked: 28 times
Re: Teensy: Keyboard vs Joystick Decision
Thanks for the reply. When i was looking earlier the option i could see was for USB keyboard/joystick or something like that. But i couldnt figure out how to access the joystick code. Will have another look later.
- Fleder
- Posts: 849
- Joined: Thu May 05, 2016 9:04 am
- Location: Germany
- Has thanked: 183 times
- Been thanked: 258 times
Re: Teensy: Keyboard vs Joystick Decision
Hope that helps: https://www.pjrc.com/teensy/td_joystick.htmlRobots86 wrote:Thanks for the reply. When i was looking earlier the option i could see was for USB keyboard/joystick or something like that. But i couldnt figure out how to access the joystick code. Will have another look later.
Or this: https://learn.adafruit.com/usb-snes-gam ... the-teensy
- Robots86
- Posts: 268
- Joined: Thu May 05, 2016 1:18 am
- Location: Birmingham, UK
- Has thanked: 39 times
- Been thanked: 28 times
Who is online
Users browsing this forum: No registered users and 1 guest