Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Konami DDR Pad #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

db3000
Copy link

@db3000 db3000 commented Oct 11, 2021

Support for connecting to Konami DDR Pad, using this change I was able to connect, remap direction pad to other buttons (needed because many songs require multiple directions at once) and play Project Outfox (a fork of StepMania).

The pad seems to send messages with non-zero report ids and zero sizes, so I had to filter those out or the pad would repeatedly disconnect. Once that was fixed, the logic to check the return of libusb_interrupt_transfer needed to be checked more precisely to fail on error unless the error indicates a timeout.

Also added some code to pass through the LED setting to the controller, it was distracting to have it blinking non-stop.

Unfortunately, I don't have any other wired controllers to test with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant