Does anybody have a DDR pad API

My programmer says we can use a ddr pad to control the robot if we have an API for it, does anyone have one we can use???

I doubt it’s a good idea for actual competition usage, but could be interesting for robot demos or otherwise “showing off” (and there’s nothing wrong with that!)

In terms of an API, there are several different interfaces that different pads use. If the particular one you choose is mapped to show up as a joystick, the programmer already knows how to deal with that input. If it shows up as a keyboard, your best bet is probably to run a java program on the driver station laptop and use network tables to send the the data to the bot.

1 Like

We have a DDR pad for driving in Demo
The DDR connects to driver-station-laptop through normal USB-A
Here’s the code:

1 Like

What pads do you use for these? We have been thinking about using a DDR pad for demos, as it would be fun to drive a swerve drive as a demo. It would be nice if they were more durable, and maybe have the diagonal buttons too.

I do know 2468 was using a DDR pad to assist their operators in '23, see https://youtube.com/shorts/ca-Jzeb2JSY?si=AUaMOR0Nt8dBGFh- .

my team’s DDR look exactly the same as the one in the video
My guess is that if the DDR API uses GenericHID, any DDR with USB might work?