summaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorRyan Dwyer <[email protected]>2018-04-18 23:19:23 +1000
committerRyan Dwyer <[email protected]>2018-04-18 23:19:23 +1000
commit5b30391383be7e31ae1b213f2a6095bd7a95defc (patch)
tree96ad3f77bf2538401d5538e0e0ba9c12c99f32b6 /sway/commands.c
parentd668d5789238f1e2865599cf1b7ffeb518ee8318 (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 'sway/commands.c')
-rw-r--r--sway/commands.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 99f42524..fb3eaa75 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -191,6 +191,8 @@ static struct cmd_handler input_handlers[] = {
{ "middle_emulation", input_cmd_middle_emulation },
{ "natural_scroll", input_cmd_natural_scroll },
{ "pointer_accel", input_cmd_pointer_accel },
+ { "repeat_delay", input_cmd_repeat_delay },
+ { "repeat_rate", input_cmd_repeat_rate },
{ "scroll_method", input_cmd_scroll_method },
{ "tap", input_cmd_tap },
{ "xkb_layout", input_cmd_xkb_layout },