mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Sync to Wine-0_9_2:
Christoph Frick <[email protected]> - Moved and adopted joystick_linux.c code into the joystick_linuxinput.c. Francois Gouget <[email protected]> - Remove spaces before '\n' in traces. Daniel Remenak <[email protected]> - Add additional sanity checks to the linux input system dinput joystick implementation. svn path=/trunk/; revision=19587
This commit is contained in:
@@ -173,7 +173,7 @@ static const char *_dump_DIDEVTYPE_value(DWORD dwDevType) {
|
||||
case DIDEVTYPE_KEYBOARD: return "DIDEVTYPE_KEYBOARD";
|
||||
case DIDEVTYPE_JOYSTICK: return "DIDEVTYPE_JOYSTICK";
|
||||
case DIDEVTYPE_DEVICE: return "DIDEVTYPE_DEVICE";
|
||||
default: return "Unkown";
|
||||
default: return "Unknown";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -823,7 +823,7 @@ HRESULT linuxinput_create_effect(
|
||||
HeapFree(GetProcessHeap(), 0, newEffect);
|
||||
return DIERR_INVALIDPARAM;
|
||||
default:
|
||||
FIXME("Unkown force type.\n");
|
||||
FIXME("Unknown force type.\n");
|
||||
HeapFree(GetProcessHeap(), 0, newEffect);
|
||||
return DIERR_INVALIDPARAM;
|
||||
}
|
||||
|
||||
@@ -637,7 +637,7 @@ static int find_property_offset(JoystickImpl *This, LPCDIPROPHEADER ph)
|
||||
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 ddoi.dwType set in EnumObjects
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user