summaryrefslogtreecommitdiff
path: root/setup/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'setup/keyboard.c')
-rw-r--r--setup/keyboard.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup/keyboard.c b/setup/keyboard.c
index 8555e5e5..ed2f0b25 100644
--- a/setup/keyboard.c
+++ b/setup/keyboard.c
@@ -33,6 +33,7 @@ int key_fire = KEY_RCTRL;
int key_use = ' ';
int key_strafe = KEY_RALT;
int key_speed = KEY_RSHIFT;
+int always_run = 0;
static int *allkeys[] = {&key_left, &key_right, &key_up, &key_down,
&key_strafeleft, &key_straferight, &key_fire,
@@ -101,6 +102,9 @@ void ConfigKeyboard(void)
TXT_AddWidget(window, table);
+ TXT_AddWidget(window, TXT_NewSeparator(NULL));
+ TXT_AddWidget(window, TXT_NewCheckBox("Always run", &always_run));
+
TXT_SetWindowAction(window, TXT_HORIZ_CENTER, TestConfigAction());
}