Have you made sure your controller is working? I would check it with the Joystick Explorer:
http://firstforge.wpi.edu/sf/frs/do/...stick_explorer.
You could also use the built in Driver Station tool as shown at the bottom of this page:
http://wpilib.screenstepslive.com/s/...1881-joysticks
If that says that the joystick is working then maybe you could post or PM me some code.