Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
The JOYINFO structure contains information about the joystick position and button state.
Syntax
typedef struct joyinfo_tag {
UINT wXpos;
UINT wYpos;
UINT wZpos;
UINT wButtons;
} JOYINFO, *PJOYINFO, *NPJOYINFO, *LPJOYINFO;
Members
wXpos
Current X-coordinate.
wYpos
Current Y-coordinate.
wZpos
Current Z-coordinate.
wButtons
Current state of joystick buttons described by one or more of the following values:
| Button | Description |
|---|---|
| JOY_BUTTON1 | First joystick button is pressed. |
| JOY_BUTTON2 | Second joystick button is pressed. |
| JOY_BUTTON3 | Third joystick button is pressed. |
| JOY_BUTTON4 | Fourth joystick button is pressed. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Header | joystickapi.h (include Windows.h) |
See also
Joysticks
Multimedia Joystick Structures