1
0
mirror of synced 2024-11-15 07:17:35 +01:00

Fixed issue where Pokken Controls didn't work

This commit is contained in:
Boomslangnz 2019-01-07 11:16:46 +13:00
parent 17f3b906a9
commit 917e1d3c57

View File

@ -73,7 +73,7 @@ DWORD WINAPI XInputGetState
{ {
XINPUT_GAMEPAD gamepadState = { 0 }; XINPUT_GAMEPAD gamepadState = { 0 };
if (GameDetect::currentGame == GameID::Daytona3) if (GameDetect::currentGame == GameID::Daytona3 || GameDetect::currentGame == GameID::PokkenTournament)
gamepadState.wButtons |= *ffbOffset; gamepadState.wButtons |= *ffbOffset;
else else
gamepadState.wButtons |= 0; gamepadState.wButtons |= 0;
@ -280,7 +280,7 @@ DWORD WINAPI XInputGetStateEx
{ {
XINPUT_GAMEPAD gamepadState = { 0 }; XINPUT_GAMEPAD gamepadState = { 0 };
if (GameDetect::currentGame == GameID::Daytona3) if (GameDetect::currentGame == GameID::Daytona3 || GameDetect::currentGame == GameID::PokkenTournament)
gamepadState.wButtons = *ffbOffset; gamepadState.wButtons = *ffbOffset;
else else
gamepadState.wButtons = 0; gamepadState.wButtons = 0;