Ask Your Question
1

How to configure right-click-tap on xinput?

asked 2017-01-15 17:47:10 -0600

dguedes gravatar image

Hello,

My right-click-tap just "stopped" to work in the last few days, and I think that a xinput config will fix it. The right-click-tap is acting like my left-click, and, in the other hand, my tap-middle-click is acting like my right-click, what is kinda weird. I also was using a mouse, and it was working pretty fine (the right click was acting correctly).

I'm currently using Fedora 25 and Wayland. Also my pad is a "ETPS/2 Elantech Touchpad".

xinput info for the mouse:

Virtual core pointer                        id=2    [master pointer  (3)]
Reporting 7 classes:
    Class originated from: 6. Type: XIButtonClass
    Buttons supported: 10
    Button labels: "Button Left" "Button Middle" "Button Right" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right" None None None
    Button state:
    Class originated from: 6. Type: XIValuatorClass
    Detail for Valuator 0:
      Label: Abs X
      Range: 0.000000 - 65535.000000
      Resolution: 10000 units/m
      Mode: absolute
      Current value: 38252.000000
    Class originated from: 6. Type: XIValuatorClass
    Detail for Valuator 1:
      Label: Abs Y
      Range: 0.000000 - 65535.000000
      Resolution: 10000 units/m
      Mode: absolute
      Current value: 49751.000000
    Class originated from: 6. Type: XIValuatorClass
    Detail for Valuator 2:
      Label: Rel Horiz Wheel
      Range: -1.000000 - -1.000000
      Resolution: 0 units/m
      Mode: relative
    Class originated from: 6. Type: XIValuatorClass
    Detail for Valuator 3:
      Label: Rel Vert Wheel
      Range: -1.000000 - -1.000000
      Resolution: 0 units/m
      Mode: relative
    Class originated from: 6. Type: XIScrollClass
    Scroll info for Valuator 2
      type: 2 (horizontal)
      increment: 1.000000
      flags: 0x0
    Class originated from: 6. Type: XIScrollClass
    Scroll info for Valuator 3
      type: 1 (vertical)
      increment: 1.000000
      flags: 0x2 ( preferred )

I checked a few xinput configurations over here and there, but none helped too much. :(

Thank you!

edit retag flag offensive close merge delete

Comments

i'm having a similar problem, but in my case the middle mouse button will be the left mouse button. But anyway, in my case this behaviour starts after right clicking once.

At the moment i use as a workaround:

<CTRL>+<ALT> F6
<CTRL>+<ALT> F1

to switch to console and back to X. Maybe it works for you aswell.

ceres2009 gravatar imageceres2009 ( 2017-01-17 16:06:20 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-01-25 16:40:15 -0600

whot gravatar image

libinput only supports two tapping configurations, 1/2/3 finger tap is mapped to left/right/middle by default but you can change it to left/middle/right (not sure if gnome exposes this yet though). There is no option to have a 1-finger-right-click tap at this point. Any other behaviour would likely be a bug, worth filing a bug against libinput for.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-01-15 17:47:10 -0600

Seen: 439 times

Last updated: Jan 25 '17