mirror of
https://github.com/swaywm/sway.git
synced 2026-04-22 06:46:27 -04:00
add mouse sensitivity
This commit is contained in:
parent
03daa53a0e
commit
5e1c5afa80
10 changed files with 56 additions and 4 deletions
|
|
@ -257,6 +257,7 @@ sway_cmd input_cmd_map_to_region;
|
|||
sway_cmd input_cmd_middle_emulation;
|
||||
sway_cmd input_cmd_natural_scroll;
|
||||
sway_cmd input_cmd_pointer_accel;
|
||||
sway_cmd input_cmd_sensitivity;
|
||||
sway_cmd input_cmd_scroll_factor;
|
||||
sway_cmd input_cmd_repeat_delay;
|
||||
sway_cmd input_cmd_repeat_rate;
|
||||
|
|
|
|||
|
|
@ -140,6 +140,7 @@ struct input_config {
|
|||
int middle_emulation;
|
||||
int natural_scroll;
|
||||
float pointer_accel;
|
||||
float sensitivity;
|
||||
float scroll_factor;
|
||||
int repeat_delay;
|
||||
int repeat_rate;
|
||||
|
|
|
|||
|
|
@ -73,4 +73,6 @@ char *input_device_get_identifier(struct wlr_input_device *device);
|
|||
|
||||
const char *input_device_get_type(struct sway_input_device *device);
|
||||
|
||||
struct sway_input_device *input_sway_device_from_wlr(struct wlr_input_device *device);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue