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:
Gé van Geldorp 2005-11-25 23:09:03 +00:00
parent 1e30cac1dd
commit ae83c9af7c
3 changed files with 3 additions and 3 deletions

View file

@ -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";
}
}

View file

@ -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;
}

View file

@ -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
*/