aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-05-05 15:14:47 +0200
committerMattias Andrée <maandree@operamail.com>2015-05-05 15:14:47 +0200
commitece5d11a582cacc4c9205a7275796fc75c0d2a61 (patch)
tree19729df5495ac34296751b13ed1e324a056467a6
parentstylo (diff)
downloadmds-ece5d11a582cacc4c9205a7275796fc75c0d2a61.tar.gz
mds-ece5d11a582cacc4c9205a7275796fc75c0d2a61.tar.bz2
mds-ece5d11a582cacc4c9205a7275796fc75c0d2a61.tar.xz
info: set-keyboard-rate
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--doc/info/mds.texinfo61
1 files changed, 60 insertions, 1 deletions
diff --git a/doc/info/mds.texinfo b/doc/info/mds.texinfo
index aa5ee45..8ce3aa7 100644
--- a/doc/info/mds.texinfo
+++ b/doc/info/mds.texinfo
@@ -2469,6 +2469,7 @@ Required.
* keyboard-enumeration:: Response to @code{Command: enumerate-keyboards}.
* set-keyboard-leds:: Activate and deactivate LED:s on a keyboard.
* get-keyboard-leds:: List exisiting LED:s on a keyboard and their state.
+* set-keyboard-rate:: Set the repeat rate and repeat delay on a keyboard.
* keycode-map:: Remap keyboard keycodes and query current mapping.
* new-keyboard:: Announce the existance of a new keyboard.
* old-keyboard:: Announce the removal of an old keyboard.
@@ -2859,6 +2860,65 @@ when they try to get the active LED:s
+@node set-keyboard-rate
+@subsection set-keyboard-rate
+
+@table @asis
+@item Identifying header:
+@command{Command: set-keyboard-rate}
+
+@item Action:
+Set the repeat rate and repeat delay on a keyboard.
+
+@item Optional header: @code{Rate}
+A floating point value of the repeat rate, measured
+in cycles per second (hertz). Zero means no repeat.
+
+@item Optional header: @code{Delay}
+An unsigned 16-bit integer of the number of milliseconds
+to wait before the first time a key is repeated. Zero
+means that the delay is matched with the rate, that is
+the reciprocal of the rate.
+
+@item Optional header: @code{Emulate}
+@table @code
+@item disallow
+Always use the keyboard's built in repeat feature.
+@item allow
+Use the keyboard's built in repeat feature when
+possible, otherwise emulate the feature. But if
+the selected settings are close enough to what
+the keyboard supports, use the closed settings
+the keyboard supports.
+@item if needed
+Use the keyboard's built in repeat feature when
+possible, otherwise emulate the feature.
+@item force
+Never use the keyboard's built in repeat feature,
+always emulate the feature.
+@end table
+
+@item Optional header: @code{Keyboard}
+A string that identifies the keyboard that should be
+affected. If omitted all keyboard are affected.
+
+@item Instructions:
+If neither of @code{Rate}, @code{Delay} and @code{Emulate}
+headers are used. The server should reapply the settings.
+
+@item Purpose:
+Enable the user to configure the repeat rate and repeat
+delay on keyboards.
+
+@item Compulsivity:
+Optional.
+
+@item Reference implementation:
+@command{mds-kkbd} and @command{mds-kbd}
+@end table
+
+
+
@node keycode-map
@subsection keycode-map
@@ -9402,7 +9462,6 @@ TODO protocol: embed: embedding windows inside other windows such as a status ic
TODO protocol: arcade: a game takes over control over outputs for increased performance
TODO protocol: startup: a mechanism allowing a desktop environment to track application startup
TODO protocol: drag;; drag and drop should be usable for saving files.
-TODO protocol: kkbdrate
TODO protocol: keytrans
TODO protocol: rat
TODO protocol: cursor