PINE64
How to enable 2- and 3-fingers tapping? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: How to enable 2- and 3-fingers tapping? (/showthread.php?tid=15286)



How to enable 2- and 3-fingers tapping? - alchemist - 11-08-2021

Hi,

I would like to enable 2 and 3 fingers tapping on the touchpad (2 fingers = right click, 3 fingers = middle click). I can do it on my other laptops but not on the PBP.

synclient tells that I have those parameters:
Code:
$ synclient
Parameter settings:
    LeftEdge                = 56
    RightEdge               = 1344
    TopEdge                 = 49
    BottomEdge              = 865
    FingerLow               = 30
    FingerHigh              = 30
    MaxTapTime              = 180
    MaxTapMove              = 73
    MaxDoubleTapTime        = 180
    SingleTapTimeout        = 180
    ClickTime               = 100
    EmulateMidButtonTime    = 0
    EmulateTwoFingerMinZ    = 40
    EmulateTwoFingerMinW    = 8
    VertScrollDelta         = 64
    HorizScrollDelta        = 64
    VertEdgeScroll          = 1
    HorizEdgeScroll         = 1
    CornerCoasting          = 0
    VertTwoFingerScroll     = 1
    HorizTwoFingerScroll    = 1
    MinSpeed                = 1
    MaxSpeed                = 2.8
    AccelFactor             = 0.119689
    TouchpadOff             = 2
    LockedDrags             = 0
    LockedDragTimeout       = 5000
    RTCornerButton          = 0
    RBCornerButton          = 0
    LTCornerButton          = 0
    LBCornerButton          = 0
    TapButton1              = 1
    TapButton2              = 2
    TapButton3              = 3
    ClickFinger1            = 1
    ClickFinger2            = 2
    ClickFinger3            = 3
    CircularScrolling       = 1
    CircScrollDelta         = 0.1
    CircScrollTrigger       = 0
    CircularPad             = 0
    PalmDetect              = 1
    PalmMinWidth            = 10
    PalmMinZ                = 200
    CoastingSpeed           = 20
    CoastingFriction        = 50
    PressureMotionMinZ      = 30
    PressureMotionMaxZ      = 160
    PressureMotionMinFactor = 1
    PressureMotionMaxFactor = 1
    GrabEventDevice         = 0
    TapAndDragGesture       = 1
    AreaLeftEdge            = 0
    AreaRightEdge           = 0
    AreaTopEdge             = 0
    AreaBottomEdge          = 0
    HorizHysteresis         = 8
    VertHysteresis          = 8
    ClickPad                = 1
    RightButtonAreaLeft     = 700
    RightButtonAreaRight    = 0
    RightButtonAreaTop      = 749
    RightButtonAreaBottom   = 0
    MiddleButtonAreaLeft    = 0
    MiddleButtonAreaRight   = 0
    MiddleButtonAreaTop     = 0
    MiddleButtonAreaBottom  = 0
What is missing?

Or is it better to use libevent?

Kind regards,
Xavier Miller


RE: How to enable 2- and 3-fingers tapping? - alchemist - 12-29-2021

Hi!

Solved using xinput and a standard config file:
Code:
#/etc/X11/xorg.conf.d/20-touchpad.conf
Section "InputClass"
    Identifier "touchpad"
    Driver "libinput"
    MatchIsTouchpad "on"
    Option "Tapping" "on"
    Option "TappingButtonMap" "lrm"
EndSection