Fixed issue where Pokken Controls didn't work
This commit is contained in:
parent
17f3b906a9
commit
917e1d3c57
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user