Leonardo Gamepad Analog as Digital inputs?

You sure you dont have additional joystick libraries installed which will cause conflicts?
Iv seen someone else have this issue and they had more than one joystick.h installed from different sources.