If you intend to use a joystick in one of your programs, this little test program might be helpful .. :)
Joystick positions vary rapidly in the range 0 - 65535, so you may need to smooth incoming values to avoid jumping all over the place.
best wishes,
Graham