[MPlayer-cvslog] r23348 - trunk/input/joystick.c

ben subversion at mplayerhq.hu
Sat May 19 18:59:24 CEST 2007


Author: ben
Date: Sat May 19 18:59:24 2007
New Revision: 23348

Log:
buggy joystick initialization, works much better without this

Modified:
   trunk/input/joystick.c

Modified: trunk/input/joystick.c
==============================================================================
--- trunk/input/joystick.c	(original)
+++ trunk/input/joystick.c	Sat May 19 18:59:24 2007
@@ -66,7 +66,6 @@ int mp_input_joystick_init(char* dev) {
 	mp_msg(MSGT_INPUT,MSGL_WARN,MSGTR_INPUT_JOYSTICK_LoosingBytes,l);	  
       break;
     }
-    ev.type &= ~JS_EVENT_INIT;
     if(ev.type == JS_EVENT_BUTTON)
       btns |= (ev.value << ev.number);
     if(ev.type == JS_EVENT_AXIS)



More information about the MPlayer-cvslog mailing list