[PATCH] dinput: Skip events that are not useful currently

Bruno Jesus 00cpxxx at gmail.com
Wed Jan 25 12:28:57 CST 2017


Superseeds 128724.

The event struct is already traced before so just use a plain message to show the event was ignored.

Signed-off-by: Bruno Jesus <00cpxxx at gmail.com>
---
 dlls/dinput/joystick_linuxinput.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/dinput/joystick_linuxinput.c b/dlls/dinput/joystick_linuxinput.c
index 911700b..44d72fc 100644
--- a/dlls/dinput/joystick_linuxinput.c
+++ b/dlls/dinput/joystick_linuxinput.c
@@ -902,7 +902,7 @@ static void joy_polldev(LPDIRECTINPUTDEVICE8A iface)
             break;
 #endif
 	default:
-	    FIXME("joystick cannot handle type %d event (code %d)\n",ie.type,ie.code);
+	    TRACE("skipping event\n");
 	    break;
 	}
         if (inst_id >= 0)
-- 
2.9.3




More information about the wine-patches mailing list