Correctly implement exclusions of DInput devices that are also XInput

This commit is contained in:
Henrik Rydgård committed 2025-05-16 22:39:42 +02:00
1 parent a58e24838b
commit b2bd844a01
4 files changed
+100 -45

No files matched your search

+1 -1
View File
@@ -183,7 +183,7 @@ int XinputDevice::UpdateState() {
// If we get XInput, skip the others. This might not actually be a good idea,
// and was done to avoid conflicts between DirectInput and XInput.
return anySuccess ? UPDATESTATE_SKIP_PAD : 0;
return 0; // anySuccess ? UPDATESTATE_SKIP_PAD : 0;
}
void XinputDevice::UpdatePad(int pad, const XINPUT_STATE &state, XINPUT_VIBRATION &vibration) {