The JoyInfo Class contains the following fields.
buttonNumber | Current button number that is pressed. |
buttons | Current state of the 32 joystick buttons. The value of this member can be set to any combination of JOY_BUTTONn flags, where n is a value ranging from 1 to 32. Each value corresponds to the button that is pressed. |
flags | Flags that indicate if information returned in this class is valid. Members that do not contain valid information are set to 0. These flags can be one or more of the JOY_RETURN* and JOY_CAL_ types. |
pov | Current position of the Point-Of-View control. Values for this member range from 0 to 35,900. These values represent each views angle, in degress, multiplied by 100. |
rPos | Current position of the rudder, or fourth joystick axis. |
uPos | Current positions of the fifth joysick axis. |
vPos | Current positions of the sixth joysick axis. |
xPos | Current x-coordinate. |
yPos | Current y-coordinate. |
zPos | Current z coordinate. |