1
0
mirror of synced 2025-01-19 23:52:45 +01:00

Fix GRID port reading

This commit is contained in:
Boomslangnz 2023-03-12 12:10:42 +13:00
parent 0ae1de3514
commit 404731d676

View File

@ -29,8 +29,6 @@ static int FFBCounter;
static int(__stdcall* Out32Ori)(DWORD device, DWORD data);
static int __stdcall Out32Hook(DWORD device, DWORD data)
{
if (device == 0x378)
{
++FFBCounter;
if (FFBCounter == 5)
@ -52,7 +50,6 @@ static int __stdcall Out32Hook(DWORD device, DWORD data)
myTriggers->Constant(myConstants->DIRECTION_FROM_RIGHT, percentForce);
}
}
}
return Out32Ori(device, data);
}