1
0
mirror of synced 2024-12-01 01:37:23 +01:00

Fix TTS Talking every button press

This commit is contained in:
Aaron M 2020-07-19 11:40:08 +12:00
parent c7a6daf1a0
commit d6eb8440bd

View File

@ -2037,6 +2037,8 @@ DWORD WINAPI AdjustFFBStrengthLoop(LPVOID lpParam)
} }
if (EnableFFBStrengthTextToSpeech == 1) if (EnableFFBStrengthTextToSpeech == 1)
{
if ((e.jbutton.button == IncreaseFFBStrength) || (e.jbutton.button == DecreaseFFBStrength) || (e.jbutton.button == ResetFFBStrength))
{ {
if (AlternativeFFB == 1) if (AlternativeFFB == 1)
{ {
@ -2063,6 +2065,7 @@ DWORD WINAPI AdjustFFBStrengthLoop(LPVOID lpParam)
} }
} }
} }
}
Sleep(16); Sleep(16);
} }
} }