Bug 96494

Summary: evdev driver on a touchscreen, doesn't recognize long touch as right click.
Product: xorg Reporter: Harlan Dy <dyharlan45>
Component: Input/evdevAssignee: Peter Hutterer <peter.hutterer>
Status: RESOLVED NOTABUG QA Contact: Xorg Project Team <xorg-team>
Severity: major    
Priority: medium CC: peter.hutterer
Version: 7.7 (2012.06)   
Hardware: ARM   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Harlan Dy 2016-06-11 13:53:35 UTC
evdev doesn't seem to work with long touch as right click. Even with Emulate3Buttons in the xorg.conf. When i long touch, it does nothing. Using Debian Jessie armhf running in chroot. Using evdev 2.10.3. Also how do I enable "drag scrolling"?
Comment 1 Peter Hutterer 2016-06-13 04:20:28 UTC
couple of things here:
* emulate3buttons is for middle button emulation, you're looking for the "EmulateThirdButton" option
* that option only works for single-button devices, not for button-less devices. so for a touchscreen without physical buttons, this option won't do anything. when it was introduced the single-touch screens at the time would emulate a left mouse button press on touch but this isn't the case for real touch screens these days. We require gesture processing (and this includes hold-to-right-click) to be in the clients
* drag-scrolling must be implemented in the client

So the current behaviour is as expected, sorry.
Comment 2 Harlan Dy 2016-06-14 13:32:02 UTC
Option "EmulateThirdButton" "1" doesn't work. So how do I enable right click on a multitouch display?
Comment 3 Peter Hutterer 2016-06-14 22:54:38 UTC
As I said in comment 1:
"* that option only works for single-button devices, not for button-less devices. so for a touchscreen without physical buttons, this option won't do anything."

evdev does not emulate right clicks on a multitouch display.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.