PeterCxy / evdev-right-click-emulation

Implement Long-Press-to-Right-Click on Touchscreen Linux Devices with Xorg or Wayland
Do What The F*ck You Want To Public License
90 stars 32 forks source link

No right-click on Surface Pro 3 touchscreen #7

Open sphh opened 4 years ago

sphh commented 4 years ago

I just successfully compiled (using #5) and run evdev-rce on my Surface Pro 3. Unfortunately it does not generate any right-clicks at all, when touching the touchscreen for more than 1 second...

$ sudo out/evdev-rce 
[sudo] password for sph: 
Found touch screen at /dev/input/event8: Microsoft Surface Type Cover Touchpad
Found touch screen at /dev/input/event3: NTRG0001:01 1B96:1B05
Found touch screen at /dev/input/event2: NTRG0001:01 1B96:1B05
^C

and

$ xinput
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ NTRG0001:01 1B96:1B05                     id=9    [slave  pointer  (2)]
⎜   ↳ Microsoft Surface Type Cover Consumer Control id=11   [slave  pointer  (2)]
⎜   ↳ Microsoft Surface Type Cover Mouse        id=13   [slave  pointer  (2)]
⎜   ↳ Microsoft Surface Type Cover Touchpad     id=14   [slave  pointer  (2)]
⎜   ↳ Simulated Right Button                    id=17   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Video Bus                                 id=6    [slave  keyboard (3)]
    ↳ Surface Pro 3/4 Buttons                   id=7    [slave  keyboard (3)]
    ↳ NTRG0001:01 1B96:1B05                     id=8    [slave  keyboard (3)]
    ↳ Microsoft Surface Type Cover Keyboard     id=10   [slave  keyboard (3)]
    ↳ Microsoft Surface Type Cover Consumer Control id=12   [slave  keyboard (3)]
    ↳ Microsoft LifeCam Front: Micros           id=15   [slave  keyboard (3)]
    ↳ Microsoft LifeCam Rear: Microso           id=16   [slave  keyboard (3)]

I searched for evdev and rce in ~/.xsession-errors, but could not find any entry containing either of those two words.

If you need any further information, please feel free to ask!