mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 11:54:30 +01:00
win: Fix X360 button problems by skipping DInput if there's a 360 pad available.
This commit is contained in:
1 parent
e95b43a12d
commit
09d1f3c1fa
5 files changed
+9
-4
No files matched your search
@@ -52,7 +52,10 @@ int XinputDevice::UpdateState(InputState &input_state) {
|
||||
|
||||
this->prevState = state;
|
||||
this->check_delay = 0;
|
||||
return 0;
|
||||
|
||||
// If there's an XInput pad, skip following pads. This prevents DInput and XInput
|
||||
// from colliding.
|
||||
return UPDATESTATE_SKIP_NEXT;
|
||||
} else {
|
||||
// wait check_delay frames before polling the controller again
|
||||
this->gamepad_idx = -1;
|
||||
|
||||
Reference in new issue
Block a user