From 9b5a7241e88f8147a391f1bb79ce01593a02d443 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 24 Mar 2015 16:02:48 +0100 Subject: 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. --- input/input.h | 1 - 1 file changed, 1 deletion(-) (limited to 'input/input.h') 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; -- cgit v1.2.3