From 12f9bb89464b8685cdd46dfbaa9858b66fe36c7f Mon Sep 17 00:00:00 2001 From: rfelker Date: Fri, 31 Mar 2006 04:56:09 +0000 Subject: 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) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18006 b3059339-0415-0410-9bf9-f77b7e298cf2 --- input/joystick.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'input/joystick.c') diff --git a/input/joystick.c b/input/joystick.c index 0ddbb70e37..d9d807b60f 100644 --- a/input/joystick.c +++ b/input/joystick.c @@ -30,7 +30,7 @@ #include -int axis[10]; +int axis[256]; int btns = 0; int mp_input_joystick_init(char* dev) { -- cgit v1.2.3