[Solved] Synaptics tapping

Kernels & Hardware, configuring network, installing services

[Solved] Synaptics tapping

Postby milomak » 2010-06-04 18:59

Is it possible to setup tapping so that a fast tap with two fingers behaves like the right click button.
Last edited by milomak on 2010-09-20 20:02, edited 1 time in total.
Desktop: iMac Late-2015 27" 5K Retina (17,1 - 3.3GHz) - MacOS and Windows 10 (Bootcamp)/ Sid (External SSD)
Laptop: Lenovo ideapad Y700 [nVidia Optimus] (64-bit) - Sid, Win10, Solus
Kodi Box: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
milomak
 
Posts: 1997
Joined: 2009-06-09 22:20

Re: Synaptic tapping

Postby thunderogg » 2010-06-04 19:20

I suppose you mean Synaptics and not Synaptic.

Code: Select all
man synaptics
Debian 9 / Xfce4
thunderogg
 
Posts: 198
Joined: 2008-12-10 20:12

Re: Synaptic tapping

Postby milomak » 2010-06-04 19:28

sorry that is exactly what I mean. using gnome, I have the following settings in gsynaptics

Image

My xorg.conf looks like so with respect to the Touchpad
Code: Select all
Section "ServerLayout"                                                                                                                                                                                     
   Identifier   "Default Layout"
   Option "AllowEmptyInput" "false"
   InputDevice "Touchpad" "SendCoreEvents"

Code: Select all
EndSection
Section "Module"
   Load    "glx"
   Load    "synaptics"
   Load    "dri"
   Load    "GLcore"
EndSection

Code: Select all
Section "InputDevice"
   Identifier  "Touchpad"
    Driver          "synaptics"
    Option          "SendCoreEvents"        "true"
    Option          "Device"                "/dev/input/mice"
    Option          "Protocol"              "auto-dev"
    Option          "SHMConfig"             "true"
    Option          "New AccelFactor"       "0.03"
    Option          "LeftEdge"              "100"
    Option          "RightEdge"             "1120"
    Option          "TopEdge"               "50"
    Option          "BottomEdge"            "310"
    Option          "MinSpeed"              "0.94"
    Option          "MaxSpeed"              "1"
    Option          "AccelFactor"           "0.0015"
#tapping
    Option          "FingerHigh"            "30"
    Option          "FingerLow"             "20"
    Option          "MaxTapTime"            "150"
    Option          "FastTaps"              "1"
    Option          "TapButton1"            "1"
    Option          "TapButton2"            "2"
    Option          "TapButton3"            "3"
#edge scroll
    Option          "VertEdgeScroll"        "0"
    Option          "HorizEdgeScroll"       "0"
    Option          "VertScrollDelta"       "5"
    Option          "HorizScrollDelta"      "0"
#two finger scroll
    Option          "VertTwoFingerScroll"   "1"
    Option          "HorizTwoFingerScroll"  "1"
EndSection


edit: i get the same result even if I disable Enable Faster Tapping
Desktop: iMac Late-2015 27" 5K Retina (17,1 - 3.3GHz) - MacOS and Windows 10 (Bootcamp)/ Sid (External SSD)
Laptop: Lenovo ideapad Y700 [nVidia Optimus] (64-bit) - Sid, Win10, Solus
Kodi Box: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
milomak
 
Posts: 1997
Joined: 2009-06-09 22:20

Re: Synaptic tapping

Postby stevepusser » 2010-06-04 20:14

I'm currently using the Lenny xorg which does not support much, but have you tried "xinput"?

You can get freakin' multitouch with a new enough xorg: http://linuxformat.com/content/synaptics-multitouch
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: llvm-8 toolchain, Rustc 1.36, wine-staging 4.16, Telegram-desktop 1.8.8, Pale Moon 28.7.1, Waterfox 56.2.14
User avatar
stevepusser
 
Posts: 11163
Joined: 2009-10-06 05:53

Re: Synaptic tapping

Postby milomak » 2010-06-06 20:16

i am not particularly married to xorg. if there is a udev solution i will take that.

it seems to me that this configuration may work. Thing is where would I put it?
Desktop: iMac Late-2015 27" 5K Retina (17,1 - 3.3GHz) - MacOS and Windows 10 (Bootcamp)/ Sid (External SSD)
Laptop: Lenovo ideapad Y700 [nVidia Optimus] (64-bit) - Sid, Win10, Solus
Kodi Box: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
milomak
 
Posts: 1997
Joined: 2009-06-09 22:20

Re: Synaptic tapping

Postby smallchange » 2010-06-06 21:06

Debian Wiki suggests /etc/udev/rules.d/99-synaptics.rules .
smallchange
 
Posts: 1740
Joined: 2009-05-04 15:56

Re: Synaptic tapping

Postby milomak » 2010-06-06 21:59

does this work in debian?

all other features work. soft tapping doesn't.
Desktop: iMac Late-2015 27" 5K Retina (17,1 - 3.3GHz) - MacOS and Windows 10 (Bootcamp)/ Sid (External SSD)
Laptop: Lenovo ideapad Y700 [nVidia Optimus] (64-bit) - Sid, Win10, Solus
Kodi Box: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
milomak
 
Posts: 1997
Joined: 2009-06-09 22:20

Re: Synaptic tapping

Postby gradinaruvasile » 2010-06-10 18:43

Try synclient's options. I mapped right-click with it to the bottom right corner tap.
User avatar
gradinaruvasile
 
Posts: 935
Joined: 2010-01-31 22:03
Location: Cluj, Romania

Re: Synaptic tapping

Postby milomak » 2010-06-15 19:48

ah that's helped. I ran synclient TapButton1=1 TapButton2=1 and synclient TapButton1=1 TapButton2=2.

One finger tapping emulates left click. Two finger tapping doesn't emulate right click. what should i do to emulate the latter?
Desktop: iMac Late-2015 27" 5K Retina (17,1 - 3.3GHz) - MacOS and Windows 10 (Bootcamp)/ Sid (External SSD)
Laptop: Lenovo ideapad Y700 [nVidia Optimus] (64-bit) - Sid, Win10, Solus
Kodi Box: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
milomak
 
Posts: 1997
Joined: 2009-06-09 22:20

Re: Synaptic tapping

Postby bmc5311 » 2010-06-15 20:25

milomak wrote:ah that's helped. I ran synclient TapButton1=1 TapButton2=1 and synclient TapButton1=1 TapButton2=2.
One finger tapping emulates left click. Two finger tapping doesn't emulate right click. what should i do to emulate the latter?


Not sure if this will help or not -
- here's an an old xorg.conf file, i had a macbook and had two finger right click working fine..

Code: Select all
# xorg.conf - for 1st gen macbook
# (X.Org X Window System server configuration file)

Section "InputDevice"
   Identifier   "Generic Keyboard"
   Driver      "kbd"
   Option      "XkbRules"   "xorg"
#   Option      "XkbModel"   "pc105"
   Option      "XkbLayout"   "us"
   Option      "XkbVariant"   "mac"
   Option      "XkbOptions"   "lv3:ralt_switch"
   Option      "XkbOption"     "numpad:mac"
EndSection

Section "InputDevice"
   Identifier   "Configured Mouse"
   Driver      "mouse"
   Option      "CorePointer"
EndSection

Section "InputDevice"
   Identifier   "Synaptics Touchpad"
   Driver      "synaptics"
   Option      "SendCoreEvents"   "true"
   Option      "Device"      "/dev/psaux"
   Option      "Protocol"      "auto-dev"
        Option          "SHMConfig"             "true"
        Option          "VertScrollDelta"       "20"
        Option          "HorizScrollDelta"      "70"
        Option          "HorizEdgeScroll"       "0"
        Option          "VertEdgeScroll"        "0"
        Option          "VertTwoFingerScroll"   "1"
        Option          "HorizTwoFingerScroll"  "1"
   Option      "MultiFingerButton"   "2"
#        Option          "TapButton1"            "1"
#        Option          "TapButton2"            "3"
#        Option          "TapButton3"            "2"


EndSection

Section "Device"
   Identifier   "Configured Video Device"
EndSection

Section "Monitor"
   Identifier   "Configured Monitor"
EndSection

Section "Screen"
   Identifier   "Default Screen"
   Monitor      "Configured Monitor"
   Device      "Configured Video Device"
EndSection

Section "ServerLayout"
   Identifier   "Default Layout"
   Screen      "Default Screen"
   InputDevice   "Synaptics Touchpad"
EndSection
macbook air /stable amd64/openbox

http://www.debianuserforums.org/ - By the community. For the community.
User avatar
bmc5311
 
Posts: 539
Joined: 2008-11-16 15:21
Location: lost in the vast machine

Re: Synaptic tapping

Postby gradinaruvasile » 2010-06-15 21:06

milomak wrote:ah that's helped. I ran synclient TapButton1=1 TapButton2=1 and synclient TapButton1=1 TapButton2=2.

One finger tapping emulates left click. Two finger tapping doesn't emulate right click. what should i do to emulate the latter?


Ok, i am now on my laptop - i have an autorun script doing the following:

Code: Select all
synclient HorizEdgeScroll=1 RBCornerButton=3 TapButton1=1 TapButton2=2 TapButton3=3 "FastTaps"=1 SingleTapTimeout=50
User avatar
gradinaruvasile
 
Posts: 935
Joined: 2010-01-31 22:03
Location: Cluj, Romania

Re: Synaptic tapping

Postby milomak » 2010-09-07 22:43

Anyone been able to get this working on one of the later MBPs?

Or maybe what device I need to check is running with respect to bmc5311's post.

I still have:
1 soft touch - click
2 soft touches - nothing or sometimes paste

This is in Gnome environment if it helps.
Desktop: iMac Late-2015 27" 5K Retina (17,1 - 3.3GHz) - MacOS and Windows 10 (Bootcamp)/ Sid (External SSD)
Laptop: Lenovo ideapad Y700 [nVidia Optimus] (64-bit) - Sid, Win10, Solus
Kodi Box: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
milomak
 
Posts: 1997
Joined: 2009-06-09 22:20

Re: Synaptic tapping

Postby milomak » 2010-09-20 20:01

I did a bit more digging into the whole issue:

I noticed the following in /var/log/Xorg.0.log
Code: Select all
(II) bcm5974: buttons: left double triple


So i decided to do the following:
Code: Select all
synclient TapButton1=1 TapButton2=3 TapButton3=2


which solved the problem. Essentially the log output shows 3 buttons being recognised and i figured the order must be button 1, 2 and 3. So in essence I wanted two fingers to emulate button 3.
Desktop: iMac Late-2015 27" 5K Retina (17,1 - 3.3GHz) - MacOS and Windows 10 (Bootcamp)/ Sid (External SSD)
Laptop: Lenovo ideapad Y700 [nVidia Optimus] (64-bit) - Sid, Win10, Solus
Kodi Box: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
milomak
 
Posts: 1997
Joined: 2009-06-09 22:20


Return to System configuration

Who is online

Users browsing this forum: 4D696B65, andre@home and 11 guests

fashionable