Add option to Enable Dinput along Xinput

This commit is contained in:
LunaMoo committed 2019-03-30 10:37:16 +01:00
1 parent d346d3a8c2
commit 5f119f3bb8
4 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -240,7 +240,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 anySuccess ? (g_Config.bEnableDInputWithXInput ? 0 : UPDATESTATE_SKIP_PAD) : 0;
}
void XinputDevice::UpdatePad(int pad, const XINPUT_STATE &state) {