win: Fix X360 button problems by skipping DInput if there's a 360 pad available.
This commit is contained in:
parent
e95b43a12d
commit
09d1f3c1fa
5 changed files with 9 additions and 4 deletions
|
@ -94,7 +94,7 @@ int DinputDevice::UpdateState(InputState &input_state)
|
|||
}
|
||||
|
||||
if(FAILED(pJoystick->GetDeviceState(sizeof(DIJOYSTATE2), &js)))
|
||||
return -1;
|
||||
return -1;
|
||||
|
||||
switch (js.rgdwPOV[0])
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue