If anyone is using the logitech dual action gamepad in 2010, we found that the 2009 code that one user posted last year is incompatible with the 2010 driver station. So here is an updated version of that code. The fix was for the gamepad class to inherit the joystick class. The gamepad class posted last year was not a Generic HID device.
Gamepad2010.zip (1.65 KB)
Gamepad2010.zip (1.65 KB)
Thanks for the files!
I’m having problems and I think it’s because I’m not using these files corectly. I’ve included the .h file in the WPILib and included the reference (#include) at the top of my source program. Do I need to do something with the .cpp file? If so, what? Do I need to save it somewhere specific?
Windriver will build my project just fine and download it to the robot. The problem is that the robot doesn’t recognize the code. It acts like there isn’t anything there. The only thing I can think of is that I must be doing something wrong with the gamepad files. Please help!
Thanks,
Eric