[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to change double click as the middle button



I have changed

        Option          "TapButton1"            "1"
        Option          "TapButton2"            "2"     # multitouch
        Option          "TapButton3"            "3"     # multitouch

to


        Option          "TapButton1"            "1"
        Option          "TapButton2"            "3"     # multitouch
        Option          "TapButton3"            "2"     # multitouch

not work.

$ xinput -list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ bcm5974                                 	id=11	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Video Bus                               	id=7	[slave  keyboard (3)]
    ↳ Power Button                            	id=8	[slave  keyboard (3)]
    ↳ Sleep Button                            	id=9	[slave  keyboard (3)]
    ↳ Apple Inc. Apple Internal Keyboard / Trackpad	id=10	[slave
keyboard (3)]
    ↳ ACPI Virtual Keyboard Device            	id=12	[slave  keyboard (3)]




On 11/03/2014 12:07, lina wrote:
> Hi,
> 
> Originally I have  xserver-xorg-input-synaptics, which I used the double
> click as the middle button. Three clicks as the right button,
> 
> The 50-synaptics.conf is under /etc/X11/xorg.conf.d/
> 
> 
> In my situation, I installed a new kernel, which seems that the new
> kernel use the bcm5974 to determine the behavior of the mouse, which
> ignores the synaptic setting,
> 
> I wish to come back to the old days use the double tap as the middle
> button, any suggestions, thanks.
> 
> 
> 
> [    34.402] (==) Using config directory: "/etc/X11/xorg.conf.d"
> [    34.402] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
> 
> 
> 
> 
> 
> # more /var/log/Xorg.0.log  | grep bcm
> [    41.968] (II) config/udev: Adding input device bcm5974
> (/dev/input/event11)
> [    41.968] (**) bcm5974: Applying InputClass "evdev touchpad catchall"
> [    41.968] (**) bcm5974: Applying InputClass "touchpad catchall"
> [    41.968] (**) bcm5974: Applying InputClass "Default clickpad buttons"
> [    41.968] (**) bcm5974: Applying InputClass "Disable clickpad buttons
> on Apple touchpads"
> [    41.968] (**) bcm5974: Applying InputClass "touchpad catchall"
> [    41.980] (II) Using input driver 'synaptics' for 'bcm5974'
> [    41.980] (**) bcm5974: always reports core events
> [    42.089] (II) synaptics: bcm5974: found clickpad property
> [    42.089] (--) synaptics: bcm5974: x-axis range -4415 - 5050 (res 0)
> [    42.089] (--) synaptics: bcm5974: y-axis range -55 - 6680 (res 0)
> [    42.089] (--) synaptics: bcm5974: pressure range 0 - 256
> [    42.089] (--) synaptics: bcm5974: finger width range 0 - 16
> [    42.089] (--) synaptics: bcm5974: buttons: left double triple
> [    42.090] (--) synaptics: bcm5974: Vendor 0x5ac Product 0x245
> [    42.090] (--) synaptics: bcm5974: touchpad found
> [    42.090] (**) bcm5974: always reports core events
> [    42.139] (II) XINPUT: Adding extended input device "bcm5974" (type:
> TOUCHPAD, id 11)
> [    42.139] (**) synaptics: bcm5974: (accel) MinSpeed is now constant
> deceleration 2.0
> [    42.139] (**) synaptics: bcm5974: (accel) MaxSpeed is now 2.00
> [    42.139] (**) synaptics: bcm5974: (accel) AccelFactor is now 0.075
> [    42.140] (**) bcm5974: (accel) keeping acceleration scheme 1
> [    42.140] (**) bcm5974: (accel) acceleration profile 1
> [    42.140] (**) bcm5974: (accel) acceleration factor: 2.000
> [    42.140] (**) bcm5974: (accel) acceleration threshold: 4
> [    42.141] (--) synaptics: bcm5974: touchpad found
> [    42.142] (II) config/udev: Adding input device bcm5974
> (/dev/input/mouse0)
> [    42.142] (**) bcm5974: Ignoring device from InputClass "touchpad
> ignore duplicates"
> 
> 
> 
> 
> 
> 
> :/etc/X11/xorg.conf.d# more 50-synaptics.conf
> # Example xorg.conf.d snippet that assigns the touchpad driver
> # to all touchpads. See xorg.conf.d(5) for more information on
> # InputClass.
> # DO NOT EDIT THIS FILE, your distribution will likely overwrite
> # it when updating. Copy (and rename) this file into
> # /etc/X11/xorg.conf.d first.
> # Additional options may be added in the form of
> #   Option "OptionName" "value"
> #
> Section "InputClass"
>         Identifier "touchpad catchall"
>         Driver "synaptics"
>         MatchIsTouchpad "on"
> # This option is recommend on all Linux systems using evdev, but cannot be
> # enabled by default. See the following link for details:
> # http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
> #       MatchDevicePath "/dev/input/event*"
>  	Option          "MinSpeed"              "0.5"
>         Option          "MaxSpeed"              "1.0"
>         Option          "AccelFactor"           "0.075"
>         Option          "TapButton1"            "1"
>         Option          "TapButton2"            "2"     # multitouch
>         Option          "TapButton3"            "3"     # multitouch
>         Option          "VertTwoFingerScroll"   "1"     # multitouch
>         Option          "HorizTwoFingerScroll"  "1"     # multitouch
>         Option          "VertEdgeScroll"        "1"
>         Option          "CoastingSpeed"         "8"
>         Option          "CornerCoasting"        "1"
>         Option          "CircularScrolling"     "1"
>         Option          "CircScrollTrigger"     "7"
>         Option          "EdgeMotionUseAlways"   "1"
>         Option          "LBCornerButton"        "8"     # browser "back" btn
>         Option          "RBCornerButton"        "9"     # browser
> "forward" btn
> EndSection
> 
> Section "InputClass"
>         Identifier "touchpad ignore duplicates"
>         MatchIsTouchpad "on"
>         MatchOS "Linux"
>         MatchDevicePath "/dev/input/mouse*"
>         Option "Ignore" "on"
> EndSection
> 


Reply to: