1
0
mirror of synced 2024-11-28 00:20:52 +01:00

Read Port 4128 on GRID

This commit is contained in:
Boomslangnz 2023-03-12 12:37:03 +13:00
parent 74907430ce
commit 5cb5f14520

View File

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