# HG changeset patch # User rfelker # Date 1143780969 0 # Node ID 1aed2b2c2983205820113ae89e15caf0e4acb537 # Parent bcd805923554b63e738bb60f0cb28f296ddc8c60 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) diff -r bcd805923554 -r 1aed2b2c2983 input/joystick.c --- 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 -int axis[10]; +int axis[256]; int btns = 0; int mp_input_joystick_init(char* dev) {