(XInput) add ifdef

This commit is contained in:
twinaphex 2020-08-29 22:48:28 +02:00
parent cd972e0e4e
commit b133ea3296

View File

@ -65,7 +65,11 @@ static bool g_xinput_guide_button_supported = false;
static unsigned g_xinput_num_buttons = 0;
static XInputSetState_t g_XInputSetState;
static XInputGetStateEx_t g_XInputGetStateEx;
#ifdef _XBOX1
static XINPUT_FEEDBACK g_xinput_rumble_states[4];
#else
static XINPUT_VIBRATION g_xinput_rumble_states[4];
#endif
static xinput_joypad_state g_xinput_states[4];
/* Buttons are provided by XInput as bits of a uint16.