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
This commit is contained in:
Warner Losh 2023-02-26 20:48:07 -07:00
parent e552cac3d7
commit a4b92fefd2
2 changed files with 6 additions and 4 deletions

View File

@ -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 .

View File

@ -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