input: reenable natural scrolling on SynPS/2

This commit is contained in:
Vincent Bernat 2021-07-08 21:15:54 +02:00
parent af5f11e483
commit f731de2528

View file

@ -41,10 +41,10 @@ case "$event,$use,$(uname -n),$name" in
*,XISlavePointer,*,"Logitech USB Receiver Mouse") *,XISlavePointer,*,"Logitech USB Receiver Mouse")
xinput set-ptr-feedback $device 30 5 2 xinput set-ptr-feedback $device 30 5 2
;; ;;
*,XISlavePointer,zoro,"SynPS/2 Synaptics TouchPad") *,XISlavePointer,chocobo,"SynPS/2 Synaptics TouchPad")
xinput set-props $device "libinput Natural Scrolling Enabled" 1 xinput set-props $device "libinput Natural Scrolling Enabled" 1
;; ;;
*,XISlavePointer,zoro,"ELAN Touchscreen") *,XISlavePointer,*,"ELAN Touchscreen")
xinput disable $device xinput disable $device
;; ;;
esac esac