Re: [hatari-devel] Preparing Hatari 2.6 ?

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


On Sun, 11 May 2025 at 11:11, Nicolas Pomarède <npomarede@xxxxxxxxxxxx> wrote:
do you mean a change to Keymap_DebounceSTKey() which already handles
some combinations of fast forward and key repeat ?
No no, something much more trivial:

iff --git a/src/configuration.c b/src/configuration.c
index 708ac99f..41ce9412 100644
--- a/src/configuration.c
+++ b/src/configuration.c
@@ -706,7 +706,7 @@ void Configuration_SetDefault(void)
        }
 
        /* Set defaults for Keyboard */
-       ConfigureParams.Keyboard.bDisableKeyRepeat = false;
+       ConfigureParams.Keyboard.bDisableKeyRepeat = true;
        ConfigureParams.Keyboard.nKeymapType = KEYMAP_SYMBOLIC;
        ConfigureParams.Keyboard.nCountryCode = TOS_LANG_UNKNOWN;
        ConfigureParams.Keyboard.nKbdLayout = TOS_LANG_UNKNOWN;

Basically all that's missing is adding an option to change this feature from the cfg file / command line, as it is currently possible only via the GUI.
 
--
http://mikro.atari..org


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/