Disable move in synaptics

Vincent Bernat bernat at luffy.cx
Sun Jun 15 05:13:33 PDT 2014


 ❦ 15 juin 2014 13:48 +0200, Vincent Bernat <bernat at luffy.cx> :

> I got a Carbon X1 which features a trackpoint and a clickpad. I am an
> heavy user of the trackpoint. In previous models, it was possible to
> scroll using the trackpoint and the middle button. Unfortunately, with a
> clickpad, there is no physical buttons anymore and since the driver
> managing the trackpoint and the one managing the clickpad are different,
> it seems a bit difficult to implement properly.
>
> As an alternative, I would like to configure the clickpad such that only
> clicks and scrolling using two-finger scrolling are enabled. For clicks,
> I use:
>
>         # [    12.756] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5112 (res 42)
>         # [    12.756] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 3834 (res 42)
>         # The following is 60% 0 0 0 40% 60% 0 0
>         # The logic is explained here:
>         #  http://who-t.blogspot.de/2013/12/lenovo-t440-touchpad-button.html
>         xinput set-prop $device 'Synaptics Soft Button Areas' 3656 0 0 0 2928 3656 0 0
>         xinput set-prop $device 'Synaptics Area' 1 1 1 1
>
> However, I also lost the ability to use two-finger scroll.
>
> Would it be possible to disable movement while keeping the two-finger
> scroll? I don't care about the area used by soft buttons: I can restrict
> them to the top area of the clickpad.

I made this quick patch to solve this issue for me. I use it with:

xinput set-prop $device 'Synaptics Soft Button Areas' 3656 0 0 0 2928 3656 0 0
xinput set-prop $device 'Synaptics Off' 3

Works for me.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 04-touchpadd-off.patch
Type: text/x-diff
Size: 2051 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20140615/090e38ab/attachment.patch>
-------------- next part --------------
-- 
Don't stop with your first draft.
            - The Elements of Programming Style (Kernighan & Plauger)


More information about the xorg mailing list