[dinput-1/6] add debug output

Christoph Frick frick at sc-networks.de
Mon Jul 3 04:25:57 CDT 2006


hiho

following now the first of the real set of patches, that make the the
input in Richard Burns Rally work. lots of code is adopted from the
joystick_linux.

-- 
cu

License: LGPL
ChangeLog:
2006-07-02  Christoph Frick <rid at zefix.tv>
text changes/debug output

---

 dlls/dinput/joystick_linuxinput.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/dinput/joystick_linuxinput.c b/dlls/dinput/joystick_linuxinput.c
index 44d130d..8e493c3 100644
--- a/dlls/dinput/joystick_linuxinput.c
+++ b/dlls/dinput/joystick_linuxinput.c
@@ -806,7 +806,7 @@ static HRESULT WINAPI JoystickAImpl_GetD
 
     TRACE("(this=%p,0x%08lx,%p)\n",This,len,ptr);
     if ((len != sizeof(DIJOYSTATE)) && (len != sizeof(DIJOYSTATE2))) {
-    	FIXME("len %ld is not sizeof(DIJOYSTATE) or DIJOYSTATE2, unsupported format.\n",len);
+    	FIXME("len %ld is not sizeof(DIJOYSTATE) or sizeof(DIJOYSTATE2), user defined or unsupported format.\n",len);
 	return E_FAIL;
     }
     memcpy(ptr,&(This->js),len);
@@ -1097,7 +1097,7 @@ static HRESULT WINAPI JoystickAImpl_Enum
 	ddoi.dwOfs = DIJOFS_SLIDER(1);
 	break;
       default:
-	FIXME("unhandled abs axis %d, ignoring!\n",i);
+	FIXME("unhandled abs axis 0x%02x, ignoring!\n",i);
       }
       ddoi.dwType = DIDFT_MAKEINSTANCE(i << WINE_JOYSTICK_AXIS_BASE) | DIDFT_ABSAXIS;
       /* Linux event force feedback supports only (and always) x and y axes */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060703/0f268941/attachment.pgp


More information about the wine-patches mailing list