aboutsummaryrefslogtreecommitdiff
path: root/games/quake2lnx/files/patch-src_linux_joystick.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/quake2lnx/files/patch-src_linux_joystick.c')
-rw-r--r--games/quake2lnx/files/patch-src_linux_joystick.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/quake2lnx/files/patch-src_linux_joystick.c b/games/quake2lnx/files/patch-src_linux_joystick.c
new file mode 100644
index 000000000000..f06b903a5aef
--- /dev/null
+++ b/games/quake2lnx/files/patch-src_linux_joystick.c
@@ -0,0 +1,11 @@
+--- src/linux/joystick.c.orig Thu Jan 27 19:35:20 2005
++++ src/linux/joystick.c Tue Sep 27 20:21:45 2005
+@@ -75,7 +75,7 @@
+ in_joystick = ri.Cvar_Get ("in_joystick", "1", CVAR_ARCHIVE);
+ if (in_joystick->value) {
+ joy_name = ri.Cvar_Get ("joy_name", "joystick", 0);
+- joy_dev = ri.Cvar_Get ("joy_dev","/dev/js*",CVAR_ARCHIVE);
++ joy_dev = ri.Cvar_Get ("joy_dev","/dev/joy*",CVAR_ARCHIVE);
+ joy_advanced = ri.Cvar_Get ("joy_advanced","0",0);
+ joy_advaxisx = ri.Cvar_Get ("joy_advaxisx","4",0);
+ joy_advaxisy = ri.Cvar_Get ("joy_advaxisy","2",0);