mirror of
https://github.com/reactos/reactos.git
synced 2024-09-12 22:02:18 +00:00
Sync to Wine-0_9_2:
Christoph Frick <frick@sc-networks.de> - Moved and adopted joystick_linux.c code into the joystick_linuxinput.c. Francois Gouget <fgouget@free.fr> - Remove spaces before '\n' in traces. Daniel Remenak <dtremenak@gmail.com> - Add additional sanity checks to the linux input system dinput joystick implementation. svn path=/trunk/; revision=19587
This commit is contained in:
parent
1e30cac1dd
commit
ae83c9af7c
|
@ -173,7 +173,7 @@ static const char *_dump_DIDEVTYPE_value(DWORD dwDevType) {
|
||||||
case DIDEVTYPE_KEYBOARD: return "DIDEVTYPE_KEYBOARD";
|
case DIDEVTYPE_KEYBOARD: return "DIDEVTYPE_KEYBOARD";
|
||||||
case DIDEVTYPE_JOYSTICK: return "DIDEVTYPE_JOYSTICK";
|
case DIDEVTYPE_JOYSTICK: return "DIDEVTYPE_JOYSTICK";
|
||||||
case DIDEVTYPE_DEVICE: return "DIDEVTYPE_DEVICE";
|
case DIDEVTYPE_DEVICE: return "DIDEVTYPE_DEVICE";
|
||||||
default: return "Unkown";
|
default: return "Unknown";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -823,7 +823,7 @@ HRESULT linuxinput_create_effect(
|
||||||
HeapFree(GetProcessHeap(), 0, newEffect);
|
HeapFree(GetProcessHeap(), 0, newEffect);
|
||||||
return DIERR_INVALIDPARAM;
|
return DIERR_INVALIDPARAM;
|
||||||
default:
|
default:
|
||||||
FIXME("Unkown force type.\n");
|
FIXME("Unknown force type.\n");
|
||||||
HeapFree(GetProcessHeap(), 0, newEffect);
|
HeapFree(GetProcessHeap(), 0, newEffect);
|
||||||
return DIERR_INVALIDPARAM;
|
return DIERR_INVALIDPARAM;
|
||||||
}
|
}
|
||||||
|
|
|
@ -637,7 +637,7 @@ static int find_property_offset(JoystickImpl *This, LPCDIPROPHEADER ph)
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XXX - the following part wont work with LiveForSpeed
|
/* XXX - the following part won't work with LiveForSpeed
|
||||||
* - the game sets the dwTypes to something else then
|
* - the game sets the dwTypes to something else then
|
||||||
* the ddoi.dwType set in EnumObjects
|
* the ddoi.dwType set in EnumObjects
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue