move mouse tunings from .xinitrc to tune-mouse

This commit is contained in:
Nico Schottelius 2025-09-27 06:14:17 +02:00
parent 70ccf5edbe
commit 6a678e315b

View file

@ -60,12 +60,42 @@ if xinput list | grep -q Bamboo; then
fi
case $(hostname) in
hike)
xrandr --output eDP1 --rotate right
xinput set-prop "pointer:Goodix Capacitive TouchScreen" "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1
# Make gnubbel behave ok
xinput set-prop 12 "libinput Accel Speed" -1
# Need to use us keyboard on this one
setxkbmap us
;;
nb1)
xinput set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Speed" -0.5
;;
nb3)
xinput set-prop "ELAN0670:00 04F3:3150 Touchpad" "Synaptics Two-Finger Scrolling" 1 1
;;
blind)
# unused atm - 2025-03-16
# rotate-by-sensor.sh &
xinput set-prop "ELAN0672:00 04F3:3187 Touchpad" 'Synaptics Two-Finger Scrolling' 1 1
;;
mantel)
# Enable button 1 tap
xinput set-prop "SYNA0101:00 06CB:CFB0 Touchpad" "Synaptics Tap Action" 0 0 0 0 1 0 0
;;
esac
# Only continue if there is wacom stuff
if ! xinput list | grep -i wacom -q; then
exit 0
fi
# xinput set-prop "Wacom Bamboo 16FG 4x5 Finger pad" "Device Enabled" 0
xsetwacom --set "Wacom Bamboo 16FG 4x5 Pen stylus" mode relative