[synaptics] Configure clickpad right button

Bjoern Olausson aggregator at olausson.de
Tue Dec 30 12:00:20 PST 2014


Hej all,

just wanted to let you know that I could solve the problem with abolute 
values:

# "RBL RBR RBT RBB MBL MBR MBT MBB"
Option "SoftButtonAreas" "0   0   4300   0   0   0   0   0"

Now I just have to play a bit with "FingerLow", "FingerHigh" and the vertical 
scroll speed.

Thanks for your support.

Cheers,
Bjoern



On Mon 22, Dec 12, 2014 08:38:37 Peter Hutterer wrote:
> On Sun, Dec 21, 2014 at 07:35:31PM +0100, Olausson, Bjoern wrote:
> > Hej xorg users and devs,
> > 
> > I am struggling to configure my clickpad to my usage behavior.
> > 
> > What I want to achieve is the following:
> > The right button should extend from the most lower left to the most lower
> > right corner and the height should be 10% from the total height of the
> > touch area (~1 cm towards the top starting from the bottom).
> > 
> > And the sugar coating on top would be to disable this are for mouse
> > movements.
> 
> update to 1.7.6 or later and you'll get that sugar coating for free.
> 
> > I tried to play with the following var in my 50-synaptics.conf
> > 
> >                                          "RBL RBR RBT RBB MBL MBR MBT MBB"
> > 
> > Option "SoftButtonAreas" "0      0      82% 0       0      0       0
> > 0"
> > Option "AreaBottomEdge" "x"
> > 
> > The easy part was how to figure out to make the button extend over the
> > entire width of the clickpad.
> > Setting RBL and RBR bot to zero worked fine, but I was never able to move
> > the button to the bottom.
> > I manage to get a ~1cm high strip in the middle but I never managed to
> > move
> > it to the bottom...
> > 
> > But somehow those % are not logic to me. 82% and 100% does the same ~50%
> > of
> > the touchpad from the bottom is a right button. 5% makes the entire
> > touchpad a right button...
> > Same for RBB but vice versa...
> > 
> > Can anyone enlighten me how the % are calculated and from where to where.
> > I
> > could make sense of the RBT and RBB values.
> 
> use the touchpad-edge-detector tool from the libevdev repository to check
> what the touchpad actually sends. what's most likely happening here is that
> your touchpad advertises wrong ranges. synaptics takes those ranges from the
> kernel and then uses them to calculate the percentages, so if that is all
> over the place then you'll probably need to fix up the kernel.
> 
> What kernel version are you running and have you tried a more recent one?
> If it's the case with a recent kernel, please file a bug and attach the
> dmesg output.
> 
> As a workaround, you can use the raw values from the touchpad locally
> though, so instead of 82% use the actual value from the touchpad where you
> want it.
> 
> Cheers,
>    Peter


More information about the xorg mailing list