changeset 14:2ec8c5ea5ed2

Adjust timing on key repeat to be a bit saner
author William Astle <lost@l-w.ca>
date Sun, 06 Nov 2022 13:48:11 -0700
parents 6b3609304712
children 686b600a62ee
files src/lwbasic.s
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lwbasic.s	Sun Nov 06 13:46:03 2022 -0700
+++ b/src/lwbasic.s	Sun Nov 06 13:48:11 2022 -0700
@@ -32,8 +32,8 @@
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ; Various constants
 keyb_bufflen    equ 64                          ; keyboard ring buffer length
-keyb_repdeli    equ 15                          ; ticks before initial repeat
-keyb_repdelr    equ 5
+keyb_repdeli    equ 40                          ; ticks before initial repeat (2/3 s)
+keyb_repdelr    equ 20                          ; 3 repeats per second
 keyb_caps       equ 0x80                        ; capslock enabled
 keyb_alt        equ 0x04                        ; alt pressed
 keyb_ctrl       equ 0x02                        ; ctrl pressed