(XInput) add ifdef
This commit is contained in:
parent
cd972e0e4e
commit
b133ea3296
|
@ -65,7 +65,11 @@ static bool g_xinput_guide_button_supported = false;
|
||||||
static unsigned g_xinput_num_buttons = 0;
|
static unsigned g_xinput_num_buttons = 0;
|
||||||
static XInputSetState_t g_XInputSetState;
|
static XInputSetState_t g_XInputSetState;
|
||||||
static XInputGetStateEx_t g_XInputGetStateEx;
|
static XInputGetStateEx_t g_XInputGetStateEx;
|
||||||
|
#ifdef _XBOX1
|
||||||
|
static XINPUT_FEEDBACK g_xinput_rumble_states[4];
|
||||||
|
#else
|
||||||
static XINPUT_VIBRATION g_xinput_rumble_states[4];
|
static XINPUT_VIBRATION g_xinput_rumble_states[4];
|
||||||
|
#endif
|
||||||
static xinput_joypad_state g_xinput_states[4];
|
static xinput_joypad_state g_xinput_states[4];
|
||||||
|
|
||||||
/* Buttons are provided by XInput as bits of a uint16.
|
/* Buttons are provided by XInput as bits of a uint16.
|
||||||
|
|
Loading…
Reference in New Issue