diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-11-28 12:36:42 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-11-28 12:36:42 +0100 |
commit | 0a05f00db2993addd07bd4dd4e640c427879874f (patch) | |
tree | 7c6518b7f6f5f207b063c6978ac4fb31aa400d8a /doc/info/mds.texinfo | |
parent | info: rat keys: average direction (diff) | |
download | mds-0a05f00db2993addd07bd4dd4e640c427879874f.tar.gz mds-0a05f00db2993addd07bd4dd4e640c427879874f.tar.bz2 mds-0a05f00db2993addd07bd4dd4e640c427879874f.tar.xz |
info: rat keys: movement speed
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/info/mds.texinfo')
-rw-r--r-- | doc/info/mds.texinfo | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/info/mds.texinfo b/doc/info/mds.texinfo index a52f885..9dd851c 100644 --- a/doc/info/mds.texinfo +++ b/doc/info/mds.texinfo @@ -6134,6 +6134,45 @@ If multiple direction keys@footnote{@kbd{1}, @kbd{7}, @kbd{8} and @kbd{9}} are used, the average direction is used. +@command{mds-kbd2rat} is five parameters that +control with which speed it moves the cursor: + +@table @asis +@item delay +The delay it takes before the first time a +mouse event is repeated when a key is held +down. The default is for the server to wait +for the keyboard to send another key press. + +@item interval +The time it takes before a mouse event is +repeated since its previous repear when a +key is held down. The default is for the +server to wait for the keyboard to send +another key press. + +@item max speed +The maximum speed with which the cursor can move. + +@item time to max speed +The time a key has to be held down before +the maximum speed is reached. The cursor +accelerate with each mouse event repeat. + +@item curve +Ramp used to reach pointer speed. +@end table + +The pointer's speed, not taking caps into consideration, +is calculated by + +@iftex +@math{max~speed \left ( hold~down~time ~-~ delay \over time~to~max~speed \right)^{1 ~+~ curve}} +@end iftex +@ifnottex +max speed ((hold down time - delay) / time to max speed)^(1 + curve) +@end ifnottex + @node Discussion |