summaryrefslogtreecommitdiffstats
path: root/input/input.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-24 16:02:48 +0100
committerwm4 <wm4@nowhere>2015-03-24 16:04:44 +0100
commit9b5a7241e88f8147a391f1bb79ce01593a02d443 (patch)
treec6b986d7d29b9828c9d7e1c758416f3988763f41 /input/input.h
parent1e659a9f0f3a3836912c66ab75b5af38e632ef12 (diff)
downloadmpv-9b5a7241e88f8147a391f1bb79ce01593a02d443.tar.bz2
mpv-9b5a7241e88f8147a391f1bb79ce01593a02d443.tar.xz
input: remove Linux joystick support
Why did this exist in the first place? Other than being completely useless, this even caused some regressions in the past. For example, there was the case of a laptop exposing its accelerometer as joystick device, which led to extremely fun things due to the default mappings of axis movement being mapped to seeking. I suppose those who really want to use their joystick to control a media player (???) can configure it as mouse device or so.
Diffstat (limited to 'input/input.h')
-rw-r--r--input/input.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/input/input.h b/input/input.h
index b684903ef5..c26273088f 100644
--- a/input/input.h
+++ b/input/input.h
@@ -257,7 +257,6 @@ void mp_input_run_cmd(struct input_ctx *ictx, const char **cmd);
void mp_input_set_repeat_info(struct input_ctx *ictx, int rate, int delay);
void mp_input_pipe_add(struct input_ctx *ictx, const char *filename);
-void mp_input_joystick_add(struct input_ctx *ictx, char *dev);
struct mp_ipc_ctx;
struct mp_client_api;