shithub: choc

Download patch

ref: 68ccb55c97f193279e9a9e2ff4bfbf855e0fe0fe
parent: c53762058b2d38fe68b1f538cb11c9b4081a97e2
author: Simon Howard <[email protected]>
date: Tue Aug 31 16:00:20 EDT 2010

Add weapon cycling buttons to joystick button list.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1989

--- a/setup/joystick.c
+++ b/setup/joystick.c
@@ -72,8 +72,8 @@
 static txt_button_t *joystick_button;
 
 static int *all_joystick_buttons[] = {
-        &joybstraferight, &joybstrafeleft, &joybfire, &joybspeed,
-        &joybuse, &joybstrafe,
+    &joybstraferight, &joybstrafeleft, &joybfire, &joybspeed,
+    &joybuse, &joybstrafe, &joybprevweapon, &joybnextweapon
 };
 
 //