CVS: main/input joystick.c,1.8,1.9
CVS change done by Richard Felker CVS Update of /cvsroot/mplayer/main/input In directory mail:/var2/tmp/cvs-serv15835/input Modified Files: joystick.c Log Message: prevent overflow.. wtf?! from irc: <@tcsetattr> how many dimensions can people have in a joystick? do you travel to other universes with that thing? [apparently more than 10...?!] (reported on irc by DrewZzz) Index: joystick.c =================================================================== RCS file: /cvsroot/mplayer/main/input/joystick.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- joystick.c 25 Oct 2005 21:23:45 -0000 1.8 +++ joystick.c 31 Mar 2006 04:56:09 -0000 1.9 @@ -30,7 +30,7 @@ #include <linux/joystick.h> -int axis[10]; +int axis[256]; int btns = 0; int mp_input_joystick_init(char* dev) {
On Fri, Mar 31, 2006 at 06:56:11AM +0200, Richard Felker CVS wrote:
CVS change done by Richard Felker CVS
Update of /cvsroot/mplayer/main/input In directory mail:/var2/tmp/cvs-serv15835/input
Modified Files: joystick.c Log Message: prevent overflow.. wtf?! from irc: <@tcsetattr> how many dimensions can people have in a joystick? do you travel to other universes with that thing?
:P quote of the month ;) Reynaldo
participants (2)
-
Reynaldo H. Verdejo Pinochet -
syncmail@mplayerhq.hu