You can apply the attached patch to xserver-xorg-input-
evdev-2.9.2-1ubuntu1 source.

I have tested it on one touchscreen only.
my device : ID 0457:1026 Silicon Integrated Systems Corp

It is globally disabled by default, use xinput. You can also disable
each of the following features separately :

     right click emulation with touch and hold followed by release.

     middle click emulation with touch and hold followed by tap with a
second finger,  the click happens at the first touch or at the second
one if inverted, you can set it with xinput.

     wheel clicks in 4 directions with touch and hold then move.

For the visual signal I kept it simple and painted it directly from
evdev on top of  everything, this is probably wrong in a way but there
isn't much of a choice as far as I know.  Desktop compatibility might be
an issue.

It preserves Unity multitouch gestures.

** Attachment added: "patch-evdev-emuTS"
   
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1212736/+attachment/4607907/+files/patch-evdev-emuTS

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1212736

Title:
  Touch screen: Right click should be emulated by long press, like under
  Windows 8 and Android

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mousetweaks/+bug/1212736/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to