move mouse tunings from .xinitrc to tune-mouse
This commit is contained in:
parent
70ccf5edbe
commit
6a678e315b
1 changed files with 30 additions and 0 deletions
30
tune-mouse
30
tune-mouse
|
@ -60,12 +60,42 @@ if xinput list | grep -q Bamboo; then
|
||||||
|
|
||||||
fi
|
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
|
# Only continue if there is wacom stuff
|
||||||
if ! xinput list | grep -i wacom -q; then
|
if ! xinput list | grep -i wacom -q; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# xinput set-prop "Wacom Bamboo 16FG 4x5 Finger pad" "Device Enabled" 0
|
# xinput set-prop "Wacom Bamboo 16FG 4x5 Finger pad" "Device Enabled" 0
|
||||||
|
|
||||||
xsetwacom --set "Wacom Bamboo 16FG 4x5 Pen stylus" mode relative
|
xsetwacom --set "Wacom Bamboo 16FG 4x5 Pen stylus" mode relative
|
||||||
|
|
Loading…
Add table
Reference in a new issue