shithub: choc

Download patch

ref: f1a5a3b9998128d855706dbf8a1a41c9175b43f3
parent: e98efaf118ae66c4d8f6c9e4e4f48682cc95522c
author: Simon Howard <[email protected]>
date: Wed Apr 30 20:46:06 EDT 2014

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.

--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -650,6 +650,8 @@
         AddJoystickControl(button_table, "Jump", &joybjump);
     }
 
+    AddJoystickControl(button_table, "Activate menu", &joybmenu);
+
     TXT_SignalConnect(joystick_button, "pressed", CalibrateJoystick, NULL);
     TXT_SignalConnect(window, "closed", JoystickWindowClosed, NULL);