diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-10-03 07:48:35 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-10-03 07:50:37 -0400 |
commit | e60ad3f677bfc788568cc30ab12dc2ea6fa2a493 (patch) | |
tree | 0470aaf35334c446af346c41cf8640710e93e08b | |
parent | Merge pull request #2703 from RyanDwyer/csd-border (diff) | |
download | sway-e60ad3f677bfc788568cc30ab12dc2ea6fa2a493.tar.gz sway-e60ad3f677bfc788568cc30ab12dc2ea6fa2a493.tar.zst sway-e60ad3f677bfc788568cc30ab12dc2ea6fa2a493.zip |
Fix some missing commands in sway-input(5)
-rw-r--r-- | sway/commands/input/click_method.c | 2 | ||||
-rw-r--r-- | 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) { | |||
24 | ic->click_method = LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER; | 24 | ic->click_method = LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER; |
25 | } else { | 25 | } else { |
26 | return cmd_results_new(CMD_INVALID, "click_method", | 26 | return cmd_results_new(CMD_INVALID, "click_method", |
27 | "Expected 'click_method <none|button_areas|clickfinger'"); | 27 | "Expected 'click_method <none|button_areas|clickfinger'>"); |
28 | } | 28 | } |
29 | 29 | ||
30 | return cmd_results_new(CMD_SUCCESS, NULL, NULL); | 30 | 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*. | |||
13 | 13 | ||
14 | ## KEYBOARD CONFIGURATION | 14 | ## KEYBOARD CONFIGURATION |
15 | 15 | ||
16 | *input* <identifier> repeat\_delay <n> | ||
17 | Sets the delay before repeating a held-down key, in milliseconds. | ||
18 | |||
19 | *input* <identifier> repeat\_rate <n> | ||
20 | Sets the key repeat rate in number of keypresses per second. | ||
21 | |||
16 | For more information on these xkb configuration options, see | 22 | For more information on these xkb configuration options, see |
17 | *xkeyboard-config*(7). | 23 | *xkeyboard-config*(7). |
18 | 24 | ||
@@ -35,10 +41,10 @@ For more information on these xkb configuration options, see | |||
35 | The following commands may only be used in the configuration file. | 41 | The following commands may only be used in the configuration file. |
36 | 42 | ||
37 | *input* <identifier> xkb\_capslock enabled|disabled | 43 | *input* <identifier> xkb\_capslock enabled|disabled |
38 | Initially enables or disables CapsLock, the default is disabled. | 44 | Initially enables or disables CapsLock on startup, the default is disabled. |
39 | 45 | ||
40 | *input* <identifier> xkb\_numlock enabled|disabled | 46 | *input* <identifier> xkb\_numlock enabled|disabled |
41 | Initially enables or disables NumLock, the default is disabled. | 47 | Initially enables or disables NumLock on startup, the default is disabled. |
42 | 48 | ||
43 | ## MAPPING CONFIGURATION | 49 | ## MAPPING CONFIGURATION |
44 | 50 | ||