From 1469c6331f38e5146c0db7ae24f2ea4eb3dbceca Mon Sep 17 00:00:00 2001 From: Michael Paepcke Date: Tue, 21 Feb 2023 05:41:18 +0000 Subject: [PATCH] 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