add touchpad settings

This commit is contained in:
vib 2022-09-22 08:54:25 +03:00
parent 4c9b9b4cea
commit 08374c74ba

View file

@ -1,17 +1,4 @@
### Input configuration
#
# Example configuration:
#
# input "2:14:SynPS/2_Synaptics_TouchPad" {
# dwt enabled
# tap enabled
# natural_scroll enabled
# middle_emulation enabled
# }
#
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section. # Read `man 5 sway-input` for more information about this section.
#
output DP-2 position 0 0 output DP-2 position 0 0
output HDMI-A-2 position 1920 0 output HDMI-A-2 position 1920 0
@ -20,7 +7,16 @@ input type:keyboard {
xkb_layout "ro" xkb_layout "ro"
} }
input type:pointer { input type:mouse {
accel_profile flat accel_profile flat
pointer_accel -0.15 pointer_accel -0.15
}
input type:touchpad {
pointer_accel 0.2
click_method clickfinger
tap enabled
tap_button_map lrm
drag enabled
middle_emulation enabled
} }