Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Feb 2023 06:26:01 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 1469c6331f38 - main - kbd: ukbd.4 and atkbdc.4 add section about new kernel options
Message-ID:  <202302250626.31P6Q1HT011059@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

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

commit 1469c6331f38e5146c0db7ae24f2ea4eb3dbceca
Author:     Michael Paepcke <git@paepcke.de>
AuthorDate: 2023-02-21 05:41:18 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-02-25 06:20:34 +0000

    kbd: ukbd.4 and atkbdc.4 add section about new kernel options
    
    add section about  new kernel options KBD_DELAY1 and KBD_DELAY2
    
    Reviewed by: imp (small tweaks to man page)
    Pull Request: https://github.com/freebsd/freebsd-src/pull/649
---
 share/man/man4/atkbdc.4 | 7 +++++++
 share/man/man4/ukbd.4   | 9 +++++++++
 2 files changed, 16 insertions(+)

diff --git a/share/man/man4/atkbdc.4 b/share/man/man4/atkbdc.4
index d0fc50d145a5..cddc49969232 100644
--- a/share/man/man4/atkbdc.4
+++ b/share/man/man4/atkbdc.4
@@ -90,6 +90,13 @@ The default values are
 and 5
 for
 .Fa Y .
+.It Em KBD_DELAY1=X, KBD_DELAY2=Y
+DELAY1 sets the intitial key repeat delay to
+.Fa X .
+The default value is 500ms.
+DELAY2 sets the key repeat delay to
+.Fa Y .
+The default value is 200ms.
 .It Em KBDIO_DEBUG=N
 Sets the debug level to
 .Fa N .
diff --git a/share/man/man4/ukbd.4 b/share/man/man4/ukbd.4
index f443f51ce8e1..dc8e62f0f245 100644
--- a/share/man/man4/ukbd.4
+++ b/share/man/man4/ukbd.4
@@ -136,6 +136,15 @@ or
 .D1 Cd "options KBD_DISABLE_KEYMAP_LOADING"
 .Pp
 Do not allow the user to change the keymap.
+.Pp
+.D1 Cd "options KBD_DELAY1=200"
+.Pp
+Set the keyboard initial key repeat delay.
+.Pp
+.D1 Cd "options KBD_DELAY2=15"
+.Pp
+Set the keyboard key repeat delay.
+.Pp
 Note that these options also affect the AT keyboard driver,
 .Xr atkbd 4 .
 .Sh SYSCTL VARIABLES



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302250626.31P6Q1HT011059>