foxygit / doom Log in
commit 684a275b88fda485073d867bcea834809886c185
Author:     Archenoth <archenoth@gmail.com>
AuthorDate: Fri Jan 21 21:06:07 2022 -0700
Commit:     Archenoth <archenoth@gmail.com>
CommitDate: Fri Jan 21 21:06:07 2022 -0700

    Run control now called "Run" in setup for all input devices

    (It used to be "Speed" in joystick setup, and "Speed On" for keyboard)
---
 src/setup/joystick.c | 2 +-
 src/setup/keyboard.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/setup/joystick.c b/src/setup/joystick.c
index 07388735..d140c58b 100644
--- a/src/setup/joystick.c
+++ b/src/setup/joystick.c
@@ -1063,7 +1063,7 @@ void ConfigJoystick(TXT_UNCAST_ARG(widget), void *user_data)

     if (joybspeed < 20)
     {
-        AddJoystickControl(window, "Speed", &joybspeed);
+        AddJoystickControl(window, "Run", &joybspeed);
     }

     if (gamemission == hexen || gamemission == strife)
diff --git a/src/setup/keyboard.c b/src/setup/keyboard.c
index 17f14b29..e1c2e979 100644
--- a/src/setup/keyboard.c
+++ b/src/setup/keyboard.c
@@ -407,7 +407,7 @@ void ConfigKeyboard(TXT_UNCAST_ARG(widget), void *user_data)

     AddKeyControl(window, "Turn Left", &key_left);
     TXT_AddWidget(window, TXT_TABLE_EMPTY);
-    AddKeyControl(window, "Speed On", &key_speed);
+    AddKeyControl(window, "Run", &key_speed);

     AddKeyControl(window, "Turn Right", &key_right);
     TXT_AddWidget(window, TXT_TABLE_EMPTY);