summaryrefslogtreecommitdiffstats
path: root/multimedia/mplayer/files/patch-input-joystick.c
blob: f57f78b57235c221de4a95f78a58b21ee7693190 (plain)
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
--- input/joystick.c.orig	Sat Mar 31 05:10:08 2007
+++ input/joystick.c	Sat Mar 31 05:09:30 2007
@@ -24,8 +24,6 @@
 #define JS_DEV "/dev/input/js0"
 #endif
 
-#ifdef TARGET_LINUX
-
 #include <linux/joystick.h>
 
 int axis[256];
@@ -147,17 +145,3 @@
   return MP_INPUT_NOTHING;
 }
 
-#else
-
-// dummy function
-
-int mp_input_joystick_init(char* dev) {
-  return -1;
-}
-
-int mp_input_joystick_read(int fd) {
-  
-  return MP_INPUT_NOTHING;
-}
-
-#endif
OpenPOWER on IntegriCloud