Bug 96494 - evdev driver on a touchscreen, doesn't recognize long touch as right click.
Summary: evdev driver on a touchscreen, doesn't recognize long touch as right click.
Status: RESOLVED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/evdev (show other bugs)
Version: 7.7 (2012.06)
Hardware: ARM Linux (All)
: medium major
Assignee: Peter Hutterer
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-11 13:53 UTC by Harlan Dy
Modified: 2016-06-14 22:54 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.