Wildstang is using the Logitech Dual Action Gamepad for our manipulator this year so I "borrowed" the gamepad class that 1114 released as part of the beta project (thanks guys

) for some early testing. I quickly realized that it didn't give access to the D-pad and the left analog stick at the same time since the joystick class they derived from only gives access to four controller axes at once. You have to press the "Mode" button to swap between the D-pad and the left analog stick. Since we want to use both at the same time, I wrote my own class that interfaces directly with the DriverStation class, just like the provided Joystick class does. I didn't bother to add GetLeftTrigger() or similar methods because we won't be using those, but they should be simple for you to add if you need them.
I figured that since most of the code in the new class was pieced together from code in the WPILib Joystick class and the Simbot's LogitechGamepad class, the fair thing to do is release it to everyone. I wouldn't have been able to create this class as quickly and easily without using both of those classes as references.
The code is fairly well tested and it should work fine since it's very simple stuff, but if you find any bugs or make improvements, please post them here.