mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 12:02:23 +02:00
buggy joystick initialization, works much better without this
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23348 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7753c9b670
commit
85e1dd2bc0
@ -66,7 +66,6 @@ int mp_input_joystick_init(char* dev) {
|
||||
mp_msg(MSGT_INPUT,MSGL_WARN,MSGTR_INPUT_JOYSTICK_LoosingBytes,l);
|
||||
break;
|
||||
}
|
||||
ev.type &= ~JS_EVENT_INIT;
|
||||
if(ev.type == JS_EVENT_BUTTON)
|
||||
btns |= (ev.value << ev.number);
|
||||
if(ev.type == JS_EVENT_AXIS)
|
||||
|
Loading…
Reference in New Issue
Block a user