Teensy as two gamepads?

Status
Not open for further replies.

vitormhenrique

Well-known member
Is it possible to make teensy show up as two different gamepads?

I'm trying to get a custom built arcade machine to work, but I'm having difficult to configure two players with the same gamepad. Retropie and Recalbox expect two different gamepads for two different players. I dont want to use keyboard because of the 6 keys limitation.

Thank you for the help,

Vitor Henrique
 
I think I figure it out, I basically created a new variable inside of the usb desc with the same information of the joystick, than I created a new USB_ARCADE based on the USB_HID and added my new joystick configuration.
I cloned the joystick class and created joystick1, and that is it! I now see two interfaces and both are getting button presses on windows.
Now it is a matter of see if recalbox accept the configuration....
 
I got it showing as two devices, but both joysticks will have same ID and the OS don't handle that pretty well. Ended up using two teensys-lc and synchronizing the code, I "needed" to have one teensy display led patterns when buttons where pressed.
 
Status
Not open for further replies.
Back
Top