From 5b30391383be7e31ae1b213f2a6095bd7a95defc Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Wed, 18 Apr 2018 23:19:23 +1000 Subject: Make key repeat configurable This creates two input commands for configuring the repeat delay and rate. Example config: input "myidentifier" { repeat_delay 250 repeat_rate 25 } --- sway/sway-input.5.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sway/sway-input.5.txt') diff --git a/sway/sway-input.5.txt b/sway/sway-input.5.txt index 05725360..c3380f54 100644 --- a/sway/sway-input.5.txt +++ b/sway/sway-input.5.txt @@ -92,6 +92,12 @@ Libinput Configuration **input** pointer_accel <[-1,1]>:: Changes the pointer acceleration for the specified input device. +**input** repeat_delay :: + Sets the amount of time a key must be held before it starts repeating. + +**input** repeat_rate :: + Sets the frequency of key repeats once the repeat_delay has passed. + **input** scroll_method :: Changes the scroll method for the specified input device. -- cgit v1.2.3 From 9ab61716b5017fc2aec3ed03bd4687dfb8c5fe9f Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Thu, 19 Apr 2018 13:48:20 +1000 Subject: Correct the repeat_rate documentation. --- sway/sway-input.5.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/sway-input.5.txt') diff --git a/sway/sway-input.5.txt b/sway/sway-input.5.txt index c3380f54..948b4b6f 100644 --- a/sway/sway-input.5.txt +++ b/sway/sway-input.5.txt @@ -95,7 +95,7 @@ Libinput Configuration **input** repeat_delay :: Sets the amount of time a key must be held before it starts repeating. -**input** repeat_rate :: +**input** repeat_rate :: Sets the frequency of key repeats once the repeat_delay has passed. **input** scroll_method :: -- cgit v1.2.3