changeset 18005:1aed2b2c2983

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)
author rfelker
date Fri, 31 Mar 2006 04:56:09 +0000
parents bcd805923554
children ce1a5b200c39
files input/joystick.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/input/joystick.c	Fri Mar 31 00:15:47 2006 +0000
+++ b/input/joystick.c	Fri Mar 31 04:56:09 2006 +0000
@@ -30,7 +30,7 @@
 
 #include <linux/joystick.h>
 
-int axis[10];
+int axis[256];
 int btns = 0;
 
 int mp_input_joystick_init(char* dev) {