1
0
mirror of synced 2025-02-17 18:59:24 +01:00

Only use workaround rumble if game file contains no Wait Event already

Causes issues with inputs in game files, Non responsive inputs sometimes and they stop working all the time
This commit is contained in:
Aaron M 2019-11-09 07:21:24 +13:00
parent 122caf547e
commit 191822519b

View File

@ -1659,8 +1659,11 @@ DWORD WINAPI FFBLoop(LPVOID lpParam)
if (EnableRumble == 1)
{
// Workaround for SDL_JoystickRumble rumble not stopping issue
SDL_CreateThread(WorkaroundToFixRumble, "WorkaroundToFixRumble", (void*)NULL);
if ((configGameId != 1) || (configGameId != 9) || (configGameId != 12) || (configGameId != 22) || (configGameId != 28) || (configGameId != 29) || (configGameId != 30) || (configGameId != 31) || (configGameId != 35))
{
// Workaround for SDL_JoystickRumble rumble not stopping issue
SDL_CreateThread(WorkaroundToFixRumble, "WorkaroundToFixRumble", (void*)NULL);
}
//SPECIAL K DISABLES RUMBLE BY DEFAULT. WRITE IT TO FALSE
char RumbleDisableChar[256];