From: geijoenr Date: Mon, 5 Jun 2017 19:15:30 +0000 (+0200) Subject: msx2: add default keyboard repeat values X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=642b625340edbec5a4450edf09f931c7131da567;p=FUZIX.git msx2: add default keyboard repeat values --- diff --git a/Kernel/platform-msx2/discard.c b/Kernel/platform-msx2/discard.c index f3885ab4..53c1a3b3 100644 --- a/Kernel/platform-msx2/discard.c +++ b/Kernel/platform-msx2/discard.c @@ -55,6 +55,10 @@ void device_init(void) ticks_per_dsecond = 5; } + /* Default key repeat values in 10ths of seconds */ + keyrepeat.first = 2 * ticks_per_dsecond; + keyrepeat.continual = 1 * ticks_per_dsecond; + if (megasd_probe()) { /* probe for megaflash rom sd */ devsd_init(); @@ -64,5 +68,3 @@ void device_init(void) void map_init(void) { } - -