mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 16:01:27 +00:00
Fix some missing commands in sway-input(5)
This commit is contained in:
parent
06c214a800
commit
e60ad3f677
|
@ -24,7 +24,7 @@ struct cmd_results *input_cmd_click_method(int argc, char **argv) {
|
||||||
ic->click_method = LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER;
|
ic->click_method = LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER;
|
||||||
} else {
|
} else {
|
||||||
return cmd_results_new(CMD_INVALID, "click_method",
|
return cmd_results_new(CMD_INVALID, "click_method",
|
||||||
"Expected 'click_method <none|button_areas|clickfinger'");
|
"Expected 'click_method <none|button_areas|clickfinger'>");
|
||||||
}
|
}
|
||||||
|
|
||||||
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
|
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
|
||||||
|
|
|
@ -13,6 +13,12 @@ To obtain a list of available device identifiers, run *swaymsg -t get\_inputs*.
|
||||||
|
|
||||||
## KEYBOARD CONFIGURATION
|
## KEYBOARD CONFIGURATION
|
||||||
|
|
||||||
|
*input* <identifier> repeat\_delay <n>
|
||||||
|
Sets the delay before repeating a held-down key, in milliseconds.
|
||||||
|
|
||||||
|
*input* <identifier> repeat\_rate <n>
|
||||||
|
Sets the key repeat rate in number of keypresses per second.
|
||||||
|
|
||||||
For more information on these xkb configuration options, see
|
For more information on these xkb configuration options, see
|
||||||
*xkeyboard-config*(7).
|
*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.
|
The following commands may only be used in the configuration file.
|
||||||
|
|
||||||
*input* <identifier> xkb\_capslock enabled|disabled
|
*input* <identifier> 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* <identifier> xkb\_numlock enabled|disabled
|
*input* <identifier> 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
|
## MAPPING CONFIGURATION
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue