Mercurial > mplayer.hg
diff input/input.c @ 4524:01a0cf736e0d
Fix the bugs the previous version should fix (and those introduced
by the previous version ;) )
| author | albeu |
|---|---|
| date | Mon, 04 Feb 2002 14:19:54 +0000 |
| parents | 83128eed25f1 |
| children | 46c4e34b4e76 |
line wrap: on
line diff
--- a/input/input.c Sun Feb 03 23:13:56 2002 +0000 +++ b/input/input.c Mon Feb 04 14:19:54 2002 +0000 @@ -76,10 +76,10 @@ { KEY_DOWN, "DOWN" }, { KEY_UP, "UP" }, #ifdef HAVE_JOYSTICK - { JOY_AXIS1_PLUS, "JOY_UP" }, - { JOY_AXIS1_MINUS, "JOY_DOWN" }, - { JOY_AXIS0_PLUS, "JOY_LEFT" }, - { JOY_AXIS0_MINUS, "JOY_RIGHT" }, + { JOY_AXIS1_MINUS, "JOY_UP" }, + { JOY_AXIS1_PLUS, "JOY_DOWN" }, + { JOY_AXIS0_MINUS, "JOY_LEFT" }, + { JOY_AXIS0_PLUS, "JOY_RIGHT" }, { JOY_AXIS0_PLUS, "JOY_AXIS0_PLUS" }, { JOY_AXIS0_MINUS, "JOY_AXIS0_MINUS" }, @@ -817,7 +817,7 @@ if(fd < 0) printf("Can't init input joystick\n"); else - mp_input_add_key_fd(fd,1,mp_input_joystick_read,mp_input_joystick_close); + mp_input_add_key_fd(fd,1,mp_input_joystick_read,(mp_close_func_t)close); } #endif
