foxygit / doom Log in
commit 68ccb55c97f193279e9a9e2ff4bfbf855e0fe0fe
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Tue Aug 31 20:00:20 2010 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Tue Aug 31 20:00:20 2010 +0000

    Add weapon cycling buttons to joystick button list.

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 1989
---
 setup/joystick.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup/joystick.c b/setup/joystick.c
index 825cd8b5..1fc9a7a9 100644
--- a/setup/joystick.c
+++ b/setup/joystick.c
@@ -72,8 +72,8 @@ int joystick_y_invert = 0;
 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
 };

 //