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

@ -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;