errorenelmirror / touchegg

Automatically exported from code.google.com/p/touchegg
1 stars 0 forks source link

Four-finger gesture works, but two or three fingers do not #247

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

The problem: touchegg only recognize 4 finger gestures, 2 or 3 fingers does not 
work, does not work register new gestures.

I have 15" Samsung laptop with a Macbook style touchpad 
(no separate buttons, the touchpad is the button). The touchpad is 110mm x 77mm 
physically.
evtest reports: ETPS/2 Elantech Touchpad
It supports up to 4 finger simultanous touch:
  Event type 1 (EV_KEY)
    Event code 272 (BTN_LEFT)
    Event code 325 (BTN_TOOL_FINGER)
    Event code 330 (BTN_TOUCH)
    Event code 333 (BTN_TOOL_DOUBLETAP)
    Event code 334 (BTN_TOOL_TRIPLETAP)
    Event code 335 (BTN_TOOL_QUADTAP)

I have verified with evtest, and indeed it works, and looks great.

This is my xorg.conf snippet:
Section "InputClass"
        Identifier "Samsung clickpad"
        Driver "synaptics"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Option "TapButton1" "0"
        Option "TapButton2" "0"
        Option "TapButton3" "0"

        # enable leftclick, rightclick, middle click
        # Clickpad=0 required for ClickFinger2 to work
        Option "ClickPad" "0"
        Option "ClickFinger1" "1"
        Option "ClickFinger2" "3"
        Option "ClickFinger3" "2"

        # to palm detection (test on VT console with evtest)
        # MinZ is PRESSURE, width is TOOL_WIDTH
        Option "PalmMinZ" "50"
        Option "PalmMinWidth" "5"
        Option "PalmDetect" "1"

        # options to test: SoftButtonAreas, AreaBottomEdge
EndSection

I played with xorg.conf (or synclient without restarting the whole X), but it 
does not make a difference, touchegg still not recognize 2 or 3 fingers 
gestures, only 4.

Seems like it does not get the gesture at all.
How can I check it? Is the a debug output available? Or a more verbose one?

Of course I commented out unity sourcecode and recompiled to not capture 
touchpad gestures, following this guide:
http://askubuntu.com/questions/57586/how-can-i-disable-arbitrary-default-multito
uch-gestures-in-unity

I'm stuck how to debug it further? Can be any daemon sinking events?
I'm on ubuntu 14.10. Touchegg 1.1.1-0ubuntu1.

Original issue reported on code.google.com by laszlo.k...@gmail.com on 12 Oct 2014 at 10:26

GoogleCodeExporter commented 8 years ago
Nevermind, I figured it out.

Original comment by laszlo.k...@gmail.com on 16 Oct 2014 at 11:00