Sync to Wine-0_9_2:
Christoph Frick <frick(a)sc-networks.de>
- Moved and adopted joystick_linux.c code into the
joystick_linuxinput.c.
Francois Gouget <fgouget(a)free.fr>
- Remove spaces before '\n' in traces.
Daniel Remenak <dtremenak(a)gmail.com>
- Add additional sanity checks to the linux input system dinput joystick
implementation.
Modified: trunk/reactos/lib/dinput/dinput_main.c
Modified: trunk/reactos/lib/dinput/effect_linuxinput.c
Modified: trunk/reactos/lib/dinput/joystick_linuxinput.c
_____
Modified: trunk/reactos/lib/dinput/dinput_main.c
--- trunk/reactos/lib/dinput/dinput_main.c 2005-11-25 23:08:16 UTC
(rev 19586)
+++ trunk/reactos/lib/dinput/dinput_main.c 2005-11-25 23:09:03 UTC
(rev 19587)
@@ -173,7 +173,7 @@
case DIDEVTYPE_KEYBOARD: return "DIDEVTYPE_KEYBOARD";
case DIDEVTYPE_JOYSTICK: return "DIDEVTYPE_JOYSTICK";
case DIDEVTYPE_DEVICE: return "DIDEVTYPE_DEVICE";
- default: return "Unkown";
+ default: return "Unknown";
}
}
_____
Modified: trunk/reactos/lib/dinput/effect_linuxinput.c
--- trunk/reactos/lib/dinput/effect_linuxinput.c 2005-11-25
23:08:16 UTC (rev 19586)
+++ trunk/reactos/lib/dinput/effect_linuxinput.c 2005-11-25
23:09:03 UTC (rev 19587)
@@ -823,7 +823,7 @@
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;
}
_____
Modified: trunk/reactos/lib/dinput/joystick_linuxinput.c
--- trunk/reactos/lib/dinput/joystick_linuxinput.c 2005-11-25
23:08:16 UTC (rev 19586)
+++ trunk/reactos/lib/dinput/joystick_linuxinput.c 2005-11-25
23:09:03 UTC (rev 19587)
@@ -637,7 +637,7 @@
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
*/