rynbrd/xf86-input-mtrack

Bottom-right corner right-click

Opened this issue · 3 comments

Hi!
I'm trying to set up my MacBook Air (early 2014) on Arch, but I can't seem to find a way to get the driver to emulate a right-click when I click on the bottom right corner of the trackpad. Is the button zones feature the correct way to achieve this?

My current config looks like this:

Section "InputClass"
  Identifier "touchpad"
  Driver "mtrack"
  MatchIsTouchpad "on"
  MatchDevicePath "/dev/input/event*"

  Option "Sensitivity" "0.65"

  Option "TapButton1" "1"
  Option "TapButton2" "0"
  Option "TapButton3" "0"

  Option "ClickFinger1" "1"
  Option "ClickFinger2" "2"

  Option "ButtonIntegrated" "true"
  Option "ButtonZonesEnabled" "true"

  Option "IgnoreThumb" "true"
  Option "IgnorePalm" "true"
EndSection

Yes. A right click is button 3 not 2 as you have it configured.

Oh, okay, thanks!
Though after changing ClickFinger2 to "3" it still isn't working.

zgrep commented

As far as I can tell (from the documentation) ButtonZonesEnable enabled it only to the effect that it will recognize ClickFinger2 in the second zone and ClickFinger1 in the first zone. This means that it will recognize a two-finger click in the second zone as a right click (coincidentally, it's almost like a normal right click due to #61). At least, this is what happens for me.