Tao.Platform.Windows SDK Documentation

Winmm.JOYINFOEX.dwFlags Field

Flags indicating the valid information returned in this structure. Members that do not contain valid information are set to zero.

[Visual Basic]
Public dwFlags As Integer
[C#]
public int dwFlags;

Remarks

JOY_RETURNALL - Equivalent to setting all of the JOY_RETURN bits except JOY_RETURNRAWDATA. JOY_RETURNBUTTONS - The dwButtons member contains valid information about the state of each joystick button. JOY_RETURNCENTERED - Centers the joystick neutral position to the middle value of each axis of movement. JOY_RETURNPOV - The dwPOV member contains valid information about the point-of-view control, expressed in discrete units. JOY_RETURNPOVCTS - The dwPOV member contains valid information about the point-of-view control expressed in continuous, one-hundredth degree units. JOY_RETURNR - The dwRpos member contains valid rudder pedal data. This information represents another (fourth) axis. JOY_RETURNRAWDATA - Data stored in this structure is uncalibrated joystick readings. JOY_RETURNU - The dwUpos member contains valid data for a fifth axis of the joystick, if such an axis is available, or returns zero otherwise. JOY_RETURNV - The dwVpos member contains valid data for a sixth axis of the joystick, if such an axis is available, or returns zero otherwise. JOY_RETURNX - The dwXpos member contains valid data for the x-coordinate of the joystick. JOY_RETURNY - The dwYpos member contains valid data for the y-coordinate of the joystick. JOY_RETURNZ - The dwZpos member contains valid data for the z-coordinate of the joystick. JOY_USEDEADZONE - Expands the range for the neutral position of the joystick and calls this range the dead zone. The joystick driver returns a constant value for all positions in the dead zone.

The following flags provide data to calibrate a joystick and are intended for custom calibration applications.

JOY_CAL_READ3 - Read the x-, y-, and z-coordinates and store the raw values in dwXpos, dwYpos, and dwZpos. JOY_CAL_READ4 - Read the rudder information and the x-, y-, and z-coordinates and store the raw values in dwXpos, dwYpos, dwZpos, and dwRpos. JOY_CAL_READ5 - Read the rudder information and the x-, y-, z-, and u-coordinates and store the raw values in dwXpos, dwYpos, dwZpos, dwRpos, and dwUpos. JOY_CAL_READ6 - Read the raw v-axis data if a joystick mini driver is present that will provide the data. Returns zero otherwise. JOY_CAL_READALWAYS - Read the joystick port even if the driver does not detect a device. JOY_CAL_READRONLY - Read the rudder information if a joystick mini-driver is present that will provide the data and store the raw value in dwRpos. Return zero otherwise. JOY_CAL_READXONLY - Read the x-coordinate and store the raw (uncalibrated) value in dwXpos. JOY_CAL_READXYONLY - Reads the x- and y-coordinates and place the raw values in dwXpos and dwYpos. JOY_CAL_READYONLY - Reads the y-coordinate and store the raw value in dwYpos. JOY_CAL_READZONLY - Read the z-coordinate and store the raw value in dwZpos. JOY_CAL_READUONLY - Read the u-coordinate if a joystick mini-driver is present that will provide the data and store the raw value in dwUpos. Return zero otherwise. JOY_CAL_READVONLY - Read the v-coordinate if a joystick mini-driver is present that will provide the data and store the raw value in dwVpos. Return zero otherwise.

See Also

Winmm.JOYINFOEX Class | Tao.Platform.Windows Namespace