Merge branch 'master' of ssh://git.slaskete.net/srv/git/einar-bin
[einar-bin] / x240-clickpad.sh
1 #!/bin/sh
2
3 # Configure the X240 ClickPad
4
5 # 1 finger = left click, 2 finger = right click, 3 finger = middle click
6 synclient TapButton2=3
7 synclient TapButton3=2
8 synclient ClickFinger2=3
9 synclient ClickFinger3=2
10
11 # enable horizontal two-finger scrolling (vertical is enabled by default)
12 synclient HorizTwoFingerScroll=1
13 synclient VertTwoFingerScroll=1
14
15 # Where does the touch pad end to leave the remainder as real buttons
16 synclient AreaTopEdge=2000
17
18 # Areas must not overlap or it throws BadValue errors
19 synclient MiddleButtonAreaLeft=3000
20 synclient MiddleButtonAreaRight=4049
21 synclient MiddleButtonAreaTop=0
22 synclient MiddleButtonAreaBottom=2000
23
24 synclient RightButtonAreaLeft=4050
25 synclient RightButtonAreaRight=0
26 synclient RightButtonAreaTop=0
27 synclient RightButtonAreaBottom=2000