From e60ad3f677bfc788568cc30ab12dc2ea6fa2a493 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 3 Oct 2018 07:48:35 -0400 Subject: [PATCH] Fix some missing commands in sway-input(5) --- sway/commands/input/click_method.c | 2 +- sway/sway-input.5.scd | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/sway/commands/input/click_method.c b/sway/commands/input/click_method.c index 4d7e1c93..24777475 100644 --- a/sway/commands/input/click_method.c +++ b/sway/commands/input/click_method.c @@ -24,7 +24,7 @@ struct cmd_results *input_cmd_click_method(int argc, char **argv) { ic->click_method = LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER; } else { return cmd_results_new(CMD_INVALID, "click_method", - "Expected 'click_method "); } return cmd_results_new(CMD_SUCCESS, NULL, NULL); diff --git a/sway/sway-input.5.scd b/sway/sway-input.5.scd index 14f2a007..e5673452 100644 --- a/sway/sway-input.5.scd +++ b/sway/sway-input.5.scd @@ -13,6 +13,12 @@ To obtain a list of available device identifiers, run *swaymsg -t get\_inputs*. ## KEYBOARD CONFIGURATION +*input* repeat\_delay + Sets the delay before repeating a held-down key, in milliseconds. + +*input* repeat\_rate + Sets the key repeat rate in number of keypresses per second. + For more information on these xkb configuration options, see *xkeyboard-config*(7). @@ -35,10 +41,10 @@ For more information on these xkb configuration options, see The following commands may only be used in the configuration file. *input* xkb\_capslock enabled|disabled - Initially enables or disables CapsLock, the default is disabled. + Initially enables or disables CapsLock on startup, the default is disabled. *input* xkb\_numlock enabled|disabled - Initially enables or disables NumLock, the default is disabled. + Initially enables or disables NumLock on startup, the default is disabled. ## MAPPING CONFIGURATION