Created
November 5, 2017 03:14
-
-
Save chadmiller/3743d10092b6b86e86a2e95619d7dc67 to your computer and use it in GitHub Desktop.
xps13 touchpad xinput setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "Synaptics Tap Time" 0 | |
xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "Synaptics Palm Detection" 1 | |
xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "Synaptics Click Action" 1 3 2 | |
xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "Synaptics Scrolling Distance" -27 -27 | |
height=$((680-1)) | |
width=$((1216-1)) | |
to_edge=0 | |
xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "Synaptics Soft Button Areas" \ | |
$(($width*75/100)) $to_edge $(($height*80/100)) $to_edge \ | |
$(($width*50/100)) $(($width*75/100)) $(($height*80/100)) $to_edge | |
xmargin=48 | |
ymargin=36 | |
xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "Synaptics Edges" $xmargin $(($width-$xmargin)) $ymargin $(($(($height*80/100))-$ymargin)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for this, helped me set up my touchpad on i3wm!