This shows you the differences between two versions of the page.

Link to this comparison view

rightclick [2014/09/17 15:01] (current)
archmobile created
Line 1: Line 1:
 +Here you can find a few hints on how to emulate Rightclick with a Touchscreen:
 +This Script makes the next touch to a Rightclick. You may set it to any Button on your Device, or an Icon in your WM. For this Script you need xorg-utils and expect.
 +''pacman -Sy xorg-utils expect''
 +''bash -c 'xmodmap -e "pointer = 2 1"; unbuffer xinput test Touchscreen | ( grep -q -m 1 button && kill `pidof xinput` ); xmodmap -e "pointer = 1 2"'''
 +"Touchscreen" is the Touchscreen Device Name in your xorg.conf.
 +Thanks to: PaulFertser? from #openmoko, who had the idea and helped with the Script.
 +Tslib Rightclick Emulation
 +Install xf86-input-tslib-rightclick, you might uninstall xf86-input-tslib before:
 +''pacman -R xf86-input-tslib && pacman -Sy xf86-input-tslib-rightclick''
 +Note: that this is not working yet.
 +Evtouch Rightclick
 +If you use evtouch as Touchscreen Driver its very simple. Evtouch has a Default Rightclick Gesture, which is called One-And-A-Half-Tap, which is like a double-click. See here:  http://www.conan.de/touchscreen/libtouch.html
 +See http://www.archmobile.org/trac/wiki/AM/Configuration/X for how to use evtouch as Touchscreen Driver.
 +Note:...well, guess...Yes! It's not working yet ;)
rightclick.txt · Last modified: 2014/09/17 15:01 by archmobile
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki