config/sway: touchpad adjustments

This commit is contained in:
xeruf 2025-02-04 11:21:22 +01:00
parent e8bea8cd10
commit 090ef5220f
2 changed files with 22 additions and 10 deletions

View file

@ -4,10 +4,3 @@ input * {
xkb_numlock enabled
xkb_options caps:escape_shifted_capslock
}
input "type:touchpad" {
tap enabled
natural_scroll disabled
accel_profile adaptive
dwt disabled
pointer_accel 0.4 # set mouse sensitivity (between -1 and 1)
}

View file

@ -1,11 +1,30 @@
input type:touchpad {
tap enabled
natural_scroll disabled
events enabled
dwt enabled
# TODO disabled_on_external_mouse
accel_profile adaptive
pointer_accel 0.4 # set mouse sensitivity (between -1 and 1)
}
# FW16 Touchpad
# Also 2362:628:PIXA3854:00_093A:0274_Mouse
input 2362:628:PIXA3854:00_093A:0274_Touchpad {
pointer_accel 1
}
# TODO not working
$bindsym $mod+Alt+t swaymsg input type:touchpad events toggle
#$bindsym $mod+Alt+t swaymsg input type:touchpad events toggle
#input "pointer:motion:MSFT0002:01.*" {
# xinput events disable type:touchpad
#input type:mouse {
# accel_profile adaptive
# pointer_accel 1
#}
#
## Ploopy
#input 20547:23622:Ploopy_Corporation_Thumb_Trackball_Mouse {
# accel_profile adaptive
# pointer_accel 1
#}