<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Peter,
<div class=""><br class="">
</div>
<div class="">Thanks for getting back. </div>
<div class=""><br class="">
</div>
<div class="">I have had a look into the implementation of 3rd button emulation this morning. If this feature were to be extended to touch points would you recommend altering xf86-input-evdev to not filter out touch events or should this option be lower down
the stack? It seems xorg is responsible for emulating a pointer based on touches so should it be responsible for emulating clicks (buttons 1, 2 or 3)?</div>
<div class=""><br class="">
</div>
<div class="">Harry</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">
<p id="c1-id-6" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; COLOR: #000; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px 0px 2px; LINE-HEIGHT: 12pt; PADDING-RIGHT: 0px">
Harry Mallon</p>
<p id="c1-id-7" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; COLOR: #000; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px 0px 10px; LINE-HEIGHT: 12pt; PADDING-RIGHT: 0px">
CODEX | Software Engineer</p>
<p id="c1-id-8" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px 0px 2px; LINE-HEIGHT: 12pt; PADDING-RIGHT: 0px">
<span id="c1-id-9" style="COLOR: gray">60 Poland Street</span> | <span id="c1-id-10" style="COLOR: gray">
London</span> | <span id="c1-id-11" style="COLOR: gray">England </span>| <span id="c1-id-12" style="COLOR: gray">
W1F 7NT </span></p>
<p id="c1-id-14" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; COLOR: gray; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px 0px 4px; LINE-HEIGHT: 12pt; PADDING-RIGHT: 0px">
E <a id="c1-id-15" style="TEXT-DECORATION: none; COLOR: gray" href="mailto:harry@codexdigital.com">
harry@codexdigital.com</a> <span id="c1-id-16" style="COLOR: #000">|</span> T <a id="c1-id-17" style="TEXT-DECORATION: none; COLOR: gray" href="callto:+44 203 7000 989">
+44 203 7000 989</a> </p>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px 0px 2px; LINE-HEIGHT: 12pt; PADDING-RIGHT: 0px">
<a title="Visit our website" style="TEXT-DECORATION: none; COLOR: gray" href="www.codexdigital.com">Website</a> |
<a title="Find us on Facebook" style="TEXT-DECORATION: none; COLOR: gray" href="https://www.facebook.com/codexdigital">
Facebook</a> | <a title="Follow us on Twitter" style="TEXT-DECORATION: none; COLOR: gray" href="http://twitter.com/codexdigital">
Twitter</a></p>
<p id="c1-id-22" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; MARGIN-TOP: 15px"><a id="c1-id-23" title="See us at IBC!" style="BORDER-TOP-STYLE: none; BORDER-BOTTOM-STYLE: none; BORDER-RIGHT-STYLE: none; OUTLINE-STYLE: none; BORDER-LEFT-STYLE: none" href="http://www.codexdigital.com"><img id="c1-id-24" style="BORDER-TOP-STYLE: none; BORDER-BOTTOM-STYLE: none; BORDER-RIGHT-STYLE: none; OUTLINE-STYLE: none; BORDER-LEFT-STYLE: none" alt="" src="http://www.codexdigital.com/?action=asset&id=E55D8A6F-AF62-4978-8FF1-435A85AFADBF"></a></p>
On 16 Jun 2016, at 03:29, Peter Hutterer <<a href="mailto:peter.hutterer@who-t.net" class="">peter.hutterer@who-t.net</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">On
Tue, Jun 14, 2016 at 03:32:40PM +0000, Harry Mallon wrote:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
Hi all,<br class="">
<br class="">
I am trying to get my PenMount PM1300A touchscreen to accept hold to right click (Evdev Third Button Emulation) on CentOS7. Kernel 3.10.0-327.18.2.el7.x86_64. xorg-x11-drv-evdev 2.9.2.<br class="">
</blockquote>
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">see<span class="Apple-converted-space"> </span></span><a href="https://bugs.freedesktop.org/show_bug.cgi?id=96494" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">https://bugs.freedesktop.org/show_bug.cgi?id=96494</a><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">,
this only just came</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">up
as a bug.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">short
answer: it's a touchscreen that doesn't emulate a left button click,</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">so
evdev won't reassign the button.</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Cheers,</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""> Peter</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<br class="">
My /etc/X11/xorg.conf contains:<br class="">
# Setup the touch screen<br class="">
Section "InputClass"<br class="">
Identifier "PenMount Touchscreen"<br class="">
MatchVendor "PenMount"<br class="">
MatchProduct "PenMount PM1300A"<br class="">
Driver "evdev"<br class="">
Option "InvertX" "on"<br class="">
Option "InvertY" "on"<br class="">
Option "EmulateThirdButton" "on"<br class="">
EndSection<br class="">
<br class="">
xinput reports:<br class="">
$ DISPLAY=:0 xinput list-props 13<br class="">
Device 'PenMount PM1300A':<br class="">
Device Enabled (136): 1<br class="">
Coordinate Transformation Matrix (138): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000<br class="">
Device Accel Profile (257): 0<br class="">
Device Accel Constant Deceleration (258): 1.000000<br class="">
Device Accel Adaptive Deceleration (259): 1.000000<br class="">
Device Accel Velocity Scaling (260): 10.000000<br class="">
Device Product ID (263): 5345, 13568<br class="">
Device Node (264): "/dev/input/event6"<br class="">
Evdev Axis Inversion (273): 1, 1<br class="">
Evdev Axis Calibration (274): <no items><br class="">
Evdev Axes Swap (275): 0<br class="">
Axis Labels (276): "Abs MT Position X" (291), "Abs MT Position Y" (292), "None" (0), "None" (0)<br class="">
Button Labels (277): "Button Unknown" (266), "Button Unknown" (266), "Button Unknown" (266), "Button Wheel Up" (142), "Button Wheel Down" (143)<br class="">
Evdev Scrolling Distance (278): 0, 0, 0<br class="">
Evdev Middle Button Emulation (279): 0<br class="">
Evdev Middle Button Timeout (280): 50<br class="">
Evdev Third Button Emulation (281): 1<br class="">
Evdev Third Button Emulation Timeout (282): 1000<br class="">
Evdev Third Button Emulation Button (283): 3<br class="">
Evdev Third Button Emulation Threshold (284): 20<br class="">
Evdev Wheel Emulation (285): 0<br class="">
Evdev Wheel Emulation Axes (286): 0, 0, 4, 5<br class="">
Evdev Wheel Emulation Inertia (287): 10<br class="">
Evdev Wheel Emulation Timeout (288): 200<br class="">
Evdev Wheel Emulation Button (289): 4<br class="">
Evdev Drag Lock Buttons (290): 0<br class="">
<br class="">
$ DISPLAY=:0 xinput test-xi2 13<br class="">
PenMount PM1300A id=13 [slave pointer (2)]<br class="">
Reporting 4 classes:<br class="">
Class originated from: 13. Type: XIButtonClass<br class="">
Buttons supported: 5<br class="">
Button labels: "Button Unknown" "Button Unknown" "Button Unknown" "Button Wheel Up" "Button Wheel Down"<br class="">
Button state:<br class="">
Class originated from: 13. Type: XIValuatorClass<br class="">
Detail for Valuator 0:<br class="">
Label: Abs MT Position X<br class="">
Range: 0.000000 - 2047.000000<br class="">
Resolution: 0 units/m<br class="">
Mode: absolute<br class="">
Current value: 1443.000000<br class="">
Class originated from: 13. Type: XIValuatorClass<br class="">
Detail for Valuator 1:<br class="">
Label: Abs MT Position Y<br class="">
Range: 0.000000 - 2047.000000<br class="">
Resolution: 0 units/m<br class="">
Mode: absolute<br class="">
Current value: 240.000000<br class="">
Class originated from: 13. Type: XITouchClass<br class="">
Touch mode: direct<br class="">
Max number of touches: 10<br class="">
<br class="">
I have tested with a usb mouse and I can successfully get "Button 3" working in xinput test when using a similar configuration, but not the touchscreen.<br class="">
<br class="">
I have seen a couple of bugs like this while searching but they all seem to have expired without clearly being fixed. Are these still current?<br class="">
<a href="https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/1084938" class="">https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/1084938</a><br class="">
https://bbs.archlinux.org/viewtopic.php?id=187970<br class="">
<br class="">
<br class="">
Yours,<br class="">
Harry<br class="">
<br class="">
Harry Mallon<br class="">
<br class="">
CODEX | Software Engineer<br class="">
<br class="">
60 Poland Street | London | England | W1F 7NT<br class="">
<br class="">
E<span class="Apple-converted-space"> </span><a href="mailto:harry@codexdigital.com" class="">harry@codexdigital.com</a><<a href="mailto:harry@codexdigital.com" class="">mailto:harry@codexdigital.com</a>> | T +44 203 7000 989<<a href="callto:+44%20203%207000%20989" class="">callto:+44%20203%207000%20989</a>><br class="">
<br class="">
Website<<a href="http://www.codexdigital.com/" class="">www.codexdigital.com</a>> | Facebook<<a href="https://www.facebook.com/codexdigital" class="">https://www.facebook.com/codexdigital</a>> | Twitter<<a href="http://twitter.com/codexdigital" class="">http://twitter.com/codexdigital</a>><br class="">
<br class="">
[<a href="http://www.codexdigital.com/?action=asset&id=E55D8A6F-AF62-4978-8FF1-435A85AFADBF]%3Chttp://www.codexdigital.com%3E" class="">http://www.codexdigital.com/?action=asset&id=E55D8A6F-AF62-4978-8FF1-435A85AFADBF]<http://www.codexdigital.com></a><br class="">
</blockquote>
<br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
_______________________________________________<br class="">
<a href="mailto:xorg@lists.x.org" class="">xorg@lists.x.org</a>:<span class="Apple-converted-space"> </span><a href="http://x.org/" class="">X.Org</a><span class="Apple-converted-space"> </span>support<br class="">
Archives:<span class="Apple-converted-space"> </span><a href="http://lists.freedesktop.org/archives/xorg" class="">http://lists.freedesktop.org/archives/xorg</a><br class="">
Info:<span class="Apple-converted-space"> </span><a href="https://lists.x.org/mailman/listinfo/xorg" class="">https://lists.x.org/mailman/listinfo/xorg</a><br class="">
Your subscription address: %(user_address)s</blockquote>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>