The branch main has been updated by imp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=a4b92fefd2507140be6b4298bc3c2ba59d7b48b2

commit a4b92fefd2507140be6b4298bc3c2ba59d7b48b2
Author:     Warner Losh <i...@freebsd.org>
AuthorDate: 2023-02-27 03:48:07 +0000
Commit:     Warner Losh <i...@freebsd.org>
CommitDate: 2023-02-27 03:49:32 +0000

    kbd: Tweaks to KBD_DELAY[12]
    
    Make sure NOTES has a different value than the defaults, and properly
    document the default values in atkbdc(4) and bump .Dd
    
    Sponsored by:           Netflix
---
 share/man/man4/atkbdc.4 | 6 ++++--
 sys/conf/NOTES          | 4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/share/man/man4/atkbdc.4 b/share/man/man4/atkbdc.4
index cddc49969232..eccdd6027343 100644
--- a/share/man/man4/atkbdc.4
+++ b/share/man/man4/atkbdc.4
@@ -26,7 +26,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd February 9, 1999
+.Dd February 26, 2023
 .Dt ATKBDC 4
 .Os
 .Sh NAME
@@ -35,6 +35,8 @@
 .Sh SYNOPSIS
 .Cd "options KBD_RESETDELAY=N"
 .Cd "options KBD_MAXWAIT=N"
+.Cd "options KBD_DELAY1=N"
+.Cd "options KBD_DELAY2=N"
 .Cd "options KBDIO_DEBUG=N"
 .Cd "device atkbdc"
 .Pp
@@ -96,7 +98,7 @@ DELAY1 sets the intitial key repeat delay to
 The default value is 500ms.
 DELAY2 sets the key repeat delay to
 .Fa Y .
-The default value is 200ms.
+The default value is 100ms.
 .It Em KBDIO_DEBUG=N
 Sets the debug level to
 .Fa N .
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 6d79905967aa..4de38aeb4e94 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -1496,8 +1496,8 @@ options   KBD_DISABLE_KEYMAP_LOAD # refuse to load a 
keymap
 options        KBD_INSTALL_CDEV        # install a CDEV entry in /dev
 
 # Define keyboard latency (try 200/15 for a snappy interactive console)
-options        KBD_DELAY1=500          # define initial key delay
-options        KBD_DELAY2=100          # define key delay
+options        KBD_DELAY1=200          # define initial key delay
+options        KBD_DELAY2=15           # define key delay
 
 device         kbdmux                  # keyboard multiplexer
 options        KBDMUX_DFLT_KEYMAP      # specify the built-in keymap

Reply via email to