14 lines
492 B
Plaintext
14 lines
492 B
Plaintext
$NetBSD: patch-ah,v 1.3 2002/10/19 20:06:46 heinz Exp $
|
|
|
|
--- src/libgame/joystick.h.orig Fri Apr 19 23:16:40 2002
|
|
+++ src/libgame/joystick.h
|
|
@@ -21,7 +21,7 @@
|
|
#define JOYSTICK_ACTIVE (1 << 1)
|
|
#define JOYSTICK_ACTIVATED (JOYSTICK_AVAILABLE | JOYSTICK_ACTIVE)
|
|
|
|
-#if defined(PLATFORM_FREEBSD)
|
|
+#if defined(PLATFORM_FREEBSD) || (defined(PLATFORM_NETBSD) && defined(HAVE_JOYSTICK))
|
|
#define DEV_JOYSTICK_0 "/dev/joy0"
|
|
#define DEV_JOYSTICK_1 "/dev/joy1"
|
|
#define DEV_JOYSTICK_2 "/dev/joy2"
|