mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 07:33:46 +01:00
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
This commit is contained in:
parent
b4c74fb28e
commit
12f9bb8946
@ -30,7 +30,7 @@
|
||||
|
||||
#include <linux/joystick.h>
|
||||
|
||||
int axis[10];
|
||||
int axis[256];
|
||||
int btns = 0;
|
||||
|
||||
int mp_input_joystick_init(char* dev) {
|
||||
|
Loading…
Reference in New Issue
Block a user