summaryrefslogtreecommitdiff
path: root/setup/mainmenu.c
diff options
context:
space:
mode:
authorSimon Howard2007-05-31 23:16:23 +0000
committerSimon Howard2007-05-31 23:16:23 +0000
commit7127f6c844ee24e3629f292a8301395111266a7e (patch)
tree1fc7378f54432279f70517f098c33666f66bd317 /setup/mainmenu.c
parentf37794b0e04ba617e2908f445858803abbf576e9 (diff)
downloadchocolate-doom-7127f6c844ee24e3629f292a8301395111266a7e.tar.gz
chocolate-doom-7127f6c844ee24e3629f292a8301395111266a7e.tar.bz2
chocolate-doom-7127f6c844ee24e3629f292a8301395111266a7e.zip
Initial joystick support.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 887
Diffstat (limited to 'setup/mainmenu.c')
-rw-r--r--setup/mainmenu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup/mainmenu.c b/setup/mainmenu.c
index cb645463..48472bed 100644
--- a/setup/mainmenu.c
+++ b/setup/mainmenu.c
@@ -32,6 +32,7 @@
#include "compatibility.h"
#include "display.h"
+#include "joystick.h"
#include "keyboard.h"
#include "mouse.h"
#include "multiplayer.h"
@@ -106,6 +107,8 @@ void MainMenu(void)
TXT_AddWidgets(window,
TXT_NewButton2("Configure Display",
(TxtWidgetSignalFunc) ConfigDisplay, NULL),
+ TXT_NewButton2("Configure Joystick",
+ (TxtWidgetSignalFunc) ConfigJoystick, NULL),
TXT_NewButton2("Configure Keyboard",
(TxtWidgetSignalFunc) ConfigKeyboard, NULL),
TXT_NewButton2("Configure Mouse",