You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-12-15 08:03:15 -08:00
Added xinput1_3-XInputSetState patchset
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
From 29bf6ebc75921647868d65f2eb851f00cf8f6401 Mon Sep 17 00:00:00 2001
|
||||
From: Beren Minor <beren.minor+git@gmail.com>
|
||||
Date: Mon, 15 Oct 2018 02:36:14 +0200
|
||||
Subject: [PATCH] xinput1_3: Report SUCCESS from XInputSetState when FFB isn't
|
||||
available.
|
||||
|
||||
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45992
|
||||
---
|
||||
dlls/xinput1_3/hid.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/xinput1_3/hid.c b/dlls/xinput1_3/hid.c
|
||||
index 8a35443..7883352 100644
|
||||
--- a/dlls/xinput1_3/hid.c
|
||||
+++ b/dlls/xinput1_3/hid.c
|
||||
@@ -460,7 +460,7 @@ DWORD HID_set_state(xinput_controller* device, XINPUT_VIBRATION* state)
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
- return ERROR_NOT_SUPPORTED;
|
||||
+ return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
void HID_enable(xinput_controller* device, BOOL enable)
|
||||
--
|
||||
1.9.1
|
||||
|
||||
1
patches/xinput1_3-XInputSetState/definition
Normal file
1
patches/xinput1_3-XInputSetState/definition
Normal file
@@ -0,0 +1 @@
|
||||
Fixes: [45992] Report SUCCESS from XInputSetState when FFB isn't available.
|
||||
Reference in New Issue
Block a user