From 9e01c44b38b4768df4d97bf25cb66fe897827233 Mon Sep 17 00:00:00 2001
From: Miro Kropacek <[EMAIL REDACTED]>
Date: Mon, 31 Aug 2026 15:16:46 +1000
Subject: [PATCH] atari:video: keep the system key repeat enabled
GEM reports no key releases and the repeated key codes are the only hint
that a key is still held down. Without them every key was reported as
released shortly after it had been pressed.
Introduced in commit 975e4d80.
---
src/video/ataricommon/SDL_atarievents.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/video/ataricommon/SDL_atarievents.c b/src/video/ataricommon/SDL_atarievents.c
index 11c7bf2ee..d3328dc62 100644
--- a/src/video/ataricommon/SDL_atarievents.c
+++ b/src/video/ataricommon/SDL_atarievents.c
@@ -99,7 +99,7 @@ void SDL_Atari_InitializeConsoleSettings(void)
if (!conterm_set) {
long ssp = Super(SUP_SET);
old_conterm = *conterm;
- *conterm &= ~((1<<2) | (1<<1) | (1<< 0)); /* disable bell, key-repeat and key-click */
+ *conterm &= ~((1<<2) | (1<< 0)); /* disable bell and key-click */
Super(ssp);
conterm_set = SDL_TRUE;