diff options
Diffstat (limited to 'input')
-rw-r--r-- | input/joystick.c | 17 |
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 */ |