Fix GRID port reading
This commit is contained in:
parent
0ae1de3514
commit
404731d676
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user