player_joystick_data Struct Reference
#include <player.h>
Detailed Description
Data: state (PLAYER_JOYSTICK_DATA_STATE).The joystick data packet, which contains the current state of the joystick
Public Attributes | |
| int32_t | xpos |
| Current joystick position (unscaled). | |
| int32_t | ypos |
| Current joystick position (unscaled). | |
| int32_t | xscale |
| Scaling factors. | |
| int32_t | yscale |
| Scaling factors. | |
| uint32_t | buttons |
| Button states (bitmask). | |
The documentation for this struct was generated from the following file:
