mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
PR: 111076 Submitted by: Teemu Korhonen <venefics@mbnet.fi> Patch by: submitter/maintainer Approved by: maintainer
29 lines
455 B
C
29 lines
455 B
C
--- 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
|