Fix TTS Talking every button press
This commit is contained in:
parent
c7a6daf1a0
commit
d6eb8440bd
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user