mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
(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:
parent
ddfe8ec681
commit
5c3e73d08d
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user