From 9f4221bf92510f417bb9263031ca4f18db10e54f Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 24 Apr 2011 21:39:31 +0000 Subject: Add test button to joystick menu in setup tool (thanks Alexandre Xavier). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2329 --- setup/joystick.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'setup') diff --git a/setup/joystick.c b/setup/joystick.c index fe87439c..5d2dfd68 100644 --- a/setup/joystick.c +++ b/setup/joystick.c @@ -25,6 +25,7 @@ #include "textscreen.h" #include "txt_joybinput.h" +#include "execute.h" #include "joystick.h" typedef enum @@ -438,6 +439,8 @@ void ConfigJoystick(void) TXT_SignalConnect(joystick_button, "pressed", CalibrateJoystick, NULL); TXT_SignalConnect(window, "closed", JoystickWindowClosed, NULL); + TXT_SetWindowAction(window, TXT_HORIZ_CENTER, TestConfigAction()); + SetJoystickButtonLabel(); } -- cgit v1.2.3