add touchpad settings

This commit is contained in:
Cheri 2022-09-22 08:54:25 +03:00 committed by vib
parent b429a174e4
commit 20adb85fd7

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.
#
output DP-2 position 0 0
output HDMI-A-2 position 1920 0
@ -20,7 +7,16 @@ input type:keyboard {
xkb_layout "ro"
}
input type:pointer {
accel_profile flat
pointer_accel -0.15
input type:mouse {
accel_profile flat
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
}