summaryrefslogtreecommitdiffstats
path: root/input/joystick.c
diff options
context:
space:
mode:
Diffstat (limited to 'input/joystick.c')
-rw-r--r--input/joystick.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/input/joystick.c b/input/joystick.c
index 0fb2c041ed..ec3720548d 100644
--- a/input/joystick.c
+++ b/input/joystick.c
@@ -24,8 +24,6 @@
#define JS_DEV "/dev/input/js0"
#endif
-#ifdef TARGET_LINUX
-
#include <linux/joystick.h>
int axis[256];
@@ -145,18 +143,3 @@ int mp_input_joystick_read(int fd) {
return MP_INPUT_NOTHING;
}
-
-#else /* TARGET_LINUX */
-
-// dummy function
-
-int mp_input_joystick_init(char* dev) {
- return -1;
-}
-
-int mp_input_joystick_read(int fd) {
-
- return MP_INPUT_NOTHING;
-}
-
-#endif /* TARGET_LINUX */