From: Robert Pengelly Date: Sun, 25 Oct 2026 03:16:34 +0000 (+0000) Subject: Reduce synthetic key hold time X-Git-Url: https://git.candlhat.org/?a=commitdiff_plain;h=cf71371f065006c3ac609c29fec04b776fd0037f;p=dosemu.git Reduce synthetic key hold time --- diff --git a/cpu.c b/cpu.c index 0bbf31b..0125863 100644 --- a/cpu.c +++ b/cpu.c @@ -1902,7 +1902,7 @@ static uint8_t io_read8 (CPU8086 *cpu, uint16_t port) { cpu->kbd_scancode_pending = 0; if (cpu->kbd_release_scancode) { - cpu->kbd_release_time = pit_clock_ns () + 150000000ULL; + cpu->kbd_release_time = pit_clock_ns () + 25000000ULL; } return cpu->kbd_scancode;