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
    }
This commit is contained in:
Ryan Dwyer 2018-04-18 23:19:23 +10:00
parent d668d57892
commit 5b30391383
9 changed files with 88 additions and 1 deletions

View file

@ -90,6 +90,7 @@ sway_sources = files(
'commands/input/middle_emulation.c',
'commands/input/natural_scroll.c',
'commands/input/pointer_accel.c',
'commands/input/repeat.c',
'commands/input/scroll_method.c',
'commands/input/tap.c',
'commands/input/xkb_layout.c',