From 20adb85fd7770dd12c5238ce2a6cf059f470b55f Mon Sep 17 00:00:00 2001 From: Cheri Date: Thu, 22 Sep 2022 08:54:25 +0300 Subject: [PATCH] add touchpad settings --- sway/config.d/devices.conf | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/sway/config.d/devices.conf b/sway/config.d/devices.conf index e425221..38716eb 100644 --- a/sway/config.d/devices.conf +++ b/sway/config.d/devices.conf @@ -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 }