From 5ce7f5cd613bb96baddc97cb38ad2ee074b0b87c Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 25 Oct 2006 20:04:58 +0000 Subject: "Always run" trick should only be when joyb_speed >= 10. Use 29 as the ideal value in setup as this works in Original, Ultimate and Final Doom, Heretic, Hexen and Strife. Thanks to Janizdreg for this. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 739 --- setup/keyboard.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'setup') diff --git a/setup/keyboard.c b/setup/keyboard.c index 0b434859..b804714f 100644 --- a/setup/keyboard.c +++ b/setup/keyboard.c @@ -47,7 +47,15 @@ static void UpdateJoybSpeed(TXT_UNCAST_ARG(widget), TXT_UNCAST_ARG(var)) { if (always_run) { - joybspeed = 31; + /* + if you want to pick one for chocolate doom to use, + pick 29, since that is the most universal one that + also works with heretic, hexen and strife =P + + NB. This choice also works with original, ultimate and final exes. + */ + + joybspeed = 29; } else { @@ -92,7 +100,7 @@ void ConfigKeyboard(void) txt_table_t *action_table; txt_checkbox_t *run_control; - always_run = joybspeed > 30; + always_run = joybspeed >= 10; window = TXT_NewWindow("Keyboard configuration"); -- cgit v1.2.3