|
Class JoyInfo
public final class JoyInfo
{
// Fields
public int buttonNumber;
public int buttons;
public int flags;
public int pov;
public int rPos;
public int uPos;
public int vPos;
public int xPos;
public int yPos;
public int zPos;
}
- 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 may 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.
|