blob: df866b36d2a70df7c5f1411a80ac1ae53fa83b9b [file]
#include "SDL_internal.h"
#define FLAG_FORCE_FEEDBACK 0x01
#define FLAG_WIRELESS 0x02
#define FLAG_VOICE 0x04
#define FLAG_PLUGIN_MODULES 0x08
#define FLAG_NO_NAVIGATION 0x10
typedef struct {
uint8_t type;
uint8_t subType;
uint16_t flags;
struct {
uint16_t wButtons;
uint8_t bLeftTrigger;
uint8_t bRightTrigger;
int16_t sThumbLX;
int16_t sThumbLY;
int16_t sThumbRX;
int16_t sThumbRY;
} gamepad;
struct {
uint16_t wLeftMotorSpeed;
uint16_t wRightMotorSpeed;
} vibration;
} SDL_xinput_capabilities;