noeska, to my knowledge, joystick input in mmsystem uses the 0..65535 where 0 is completely to one side and 65535 is completely to the other side.
Buttons are bitpacked into a byte structure afaik.

Have you calibrated your joystick?