dinput: Handle setting DIPROP_CALIBRATIONMODE mode in generic implementation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47183 Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
eca00491cd
commit
132cf25ed6
|
@ -405,6 +405,11 @@ HRESULT WINAPI JoystickWGenericImpl_SetProperty(LPDIRECTINPUTDEVICE8W iface, REF
|
|||
}
|
||||
break;
|
||||
}
|
||||
case (DWORD_PTR)DIPROP_CALIBRATIONMODE: {
|
||||
LPCDIPROPDWORD pd = (LPCDIPROPDWORD)ph;
|
||||
FIXME("DIPROP_CALIBRATIONMODE(%d)\n", pd->dwData);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
return IDirectInputDevice2WImpl_SetProperty(iface, rguid, ph);
|
||||
}
|
||||
|
|
|
@ -934,11 +934,6 @@ static HRESULT WINAPI JoystickWImpl_SetProperty(LPDIRECTINPUTDEVICE8W iface, REF
|
|||
|
||||
if (IS_DIPROP(rguid)) {
|
||||
switch (LOWORD(rguid)) {
|
||||
case (DWORD_PTR)DIPROP_CALIBRATIONMODE: {
|
||||
LPCDIPROPDWORD pd = (LPCDIPROPDWORD)ph;
|
||||
FIXME("DIPROP_CALIBRATIONMODE(%d)\n", pd->dwData);
|
||||
break;
|
||||
}
|
||||
case (DWORD_PTR)DIPROP_AUTOCENTER: {
|
||||
LPCDIPROPDWORD pd = (LPCDIPROPDWORD)ph;
|
||||
|
||||
|
|
Loading…
Reference in New Issue