blob: ad424472e5b1a6baa8a17af571adf057981971b1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
--- input/joystick.c.orig 2007-10-08 03:49:26.000000000 +0800
+++ input/joystick.c 2007-10-20 16:00:20.000000000 +0800
@@ -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 @@
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 */
|