diff options
author | Ryan Dwyer <[email protected]> | 2018-04-18 23:19:23 +1000 |
---|---|---|
committer | Ryan Dwyer <[email protected]> | 2018-04-18 23:19:23 +1000 |
commit | 5b30391383be7e31ae1b213f2a6095bd7a95defc (patch) | |
tree | 96ad3f77bf2538401d5538e0e0ba9c12c99f32b6 /include/sway/config.h | |
parent | d668d5789238f1e2865599cf1b7ffeb518ee8318 (diff) |
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
}
Diffstat (limited to 'include/sway/config.h')
-rw-r--r-- | include/sway/config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h index ed49fbbd..085f7b92 100644 --- a/include/sway/config.h +++ b/include/sway/config.h @@ -65,6 +65,8 @@ struct input_config { int middle_emulation; int natural_scroll; float pointer_accel; + int repeat_delay; + int repeat_rate; int scroll_method; int send_events; int tap; |