dinput: Silently ignore DIPROP_CALIBRATIONMODE
Christoph Frick
frick at sc-networks.de
Mon Dec 11 03:04:02 CST 2006
hi,
thanks to Vitaliy's great patches lots of copy-and-paste code got
eliminated and the code is now much cleaner. but some minor things
regressions showed up on my end, which the following patches will fix.
Otherwise DIERR_UNSUPPORTED gets returned from
IDirectInputDevice2AImpl_SetProperty and Grand Prix Legends wont recognize the
sticks and wheels anymore.
---
dlls/dinput/joystick_linuxinput.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/dinput/joystick_linuxinput.c b/dlls/dinput/joystick_linuxinput.c
index 195fa9c..0ba4877 100644
--- a/dlls/dinput/joystick_linuxinput.c
+++ b/dlls/dinput/joystick_linuxinput.c
@@ -1071,6 +1071,11 @@ static HRESULT WINAPI JoystickAImpl_SetP
fake_current_js_state(This);
break;
}
+ case (DWORD)DIPROP_CALIBRATIONMODE: {
+ LPCDIPROPDWORD pd = (LPCDIPROPDWORD)ph;
+ FIXME("DIPROP_CALIBRATIONMODE(%d)\n", pd->dwData);
+ break;
+ }
default:
return IDirectInputDevice2AImpl_SetProperty(iface, rguid, ph);
}
--
1.4.4.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061211/c3d0130c/attachment.pgp
More information about the wine-patches
mailing list