summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2014-05-01 00:46:06 -0400
committerSimon Howard2014-05-01 00:46:06 -0400
commitf1a5a3b9998128d855706dbf8a1a41c9175b43f3 (patch)
tree39a68645510eb89dbdaf8f5524bcaa8b60838f98 /src
parente98efaf118ae66c4d8f6c9e4e4f48682cc95522c (diff)
downloadchocolate-doom-f1a5a3b9998128d855706dbf8a1a41c9175b43f3.tar.gz
chocolate-doom-f1a5a3b9998128d855706dbf8a1a41c9175b43f3.tar.bz2
chocolate-doom-f1a5a3b9998128d855706dbf8a1a41c9175b43f3.zip
setup: Add control for joystick menu button.
The code is already in place for this but there was no control in the setup tool to configure it.
Diffstat (limited to 'src')
-rw-r--r--src/setup/joystick.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/setup/joystick.c b/src/setup/joystick.c
index 3eedda1e..d2fecd45 100644
--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -650,6 +650,8 @@ void ConfigJoystick(void)
AddJoystickControl(button_table, "Jump", &joybjump);
}
+ AddJoystickControl(button_table, "Activate menu", &joybmenu);
+
TXT_SignalConnect(joystick_button, "pressed", CalibrateJoystick, NULL);
TXT_SignalConnect(window, "closed", JoystickWindowClosed, NULL);