(XDK) Comment out set_rumble for now - seems to auto-apply

strongest vibration from the beginning - would have to look
how to reimplement this
This commit is contained in:
twinaphex 2014-02-28 16:36:03 +01:00
parent ddfe8ec681
commit 5c3e73d08d

View File

@ -407,6 +407,7 @@ static bool xdk_input_set_rumble(void *data, unsigned port, enum retro_rumble_ef
bool val = false; bool val = false;
#if 0
#if defined(_XBOX360) #if defined(_XBOX360)
XINPUT_VIBRATION rumble_state; XINPUT_VIBRATION rumble_state;
@ -425,6 +426,7 @@ static bool xdk_input_set_rumble(void *data, unsigned port, enum retro_rumble_ef
rumble_state.Rumble.wRightMotorSpeed = strength; rumble_state.Rumble.wRightMotorSpeed = strength;
val = XInputSetState(xdk->gamepads[port], &rumble_state) == ERROR_SUCCESS; val = XInputSetState(xdk->gamepads[port], &rumble_state) == ERROR_SUCCESS;
#endif #endif
#endif
#endif #endif
return val; return val;
} }