aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2023-02-27 03:48:07 +0000
committerWarner Losh <imp@FreeBSD.org>2023-02-27 03:49:32 +0000
commita4b92fefd2507140be6b4298bc3c2ba59d7b48b2 (patch)
treea978da3c1add70b2026487b240b00bac0c4d7941
parente552cac3d7d999ac0fd6779fd7a3d216779075da (diff)
downloadsrc-a4b92fefd2507140be6b4298bc3c2ba59d7b48b2.tar.gz
src-a4b92fefd2507140be6b4298bc3c2ba59d7b48b2.zip
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
-rw-r--r--share/man/man4/atkbdc.46
-rw-r--r--sys/conf/NOTES4
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