Hi everyone,

Am Montag, den 18.08.2008, 05:00 +0800 schrieb Wen-Yen Chuang:
> Package: xserver-xorg-input-tslib
> Version: 0.0.4-5
> Severity: wishlist
> 
> Hello,
> 
> This is a patch and feature request for xf86-input-tslib.
> It emulates right-click by a tap and hold gesture.
> 
> Sebastian Ohl is the patch author and he agreed that I paste the patch
> to Debian's BTS [1].
> 
> Kind regards
>  Wen-Yen Chuang (caleb)
> 
> [1] http://bugs.debian.org/xf86-input-tslib
> 
> Sebastian Ohl wrote:
> > on the openmoko phone we have only two buttons so
> > using one for rightclick isn't a good option (everyone wants the key
> > for himself *g*). so the second try was the tap and hold solution.
> 
> > after some looking into the code i developed a patch that makes it
> > possible to emulate this feature by a tap and hold gesture. the
> > solution to realize this feature in the input driver has big
> > advantages over doing this in every framework (i.e. gtk or qt) over
> > and over again. i would love to see it included in the next revision
> > of your packages, so everyone can use its advantages.

thanks for the work, that was quick. I’d like to see this in the
official package (and thus on the Freerunner), if one thing would be
added: Not always do you want a right-click when you hold the pen, some
applications might not like that (e.g. the keyboard, or games), and it
should not be necessary for most apps running on a smartphone anyways.

So if this behavior could be toggle-able while X is running, then one
could have an applet that switches this, and work both with
right-click-needing apps and left-button-hold-needing apps.

Greetings,
Joachim

PS: Wouldn’t it be able to implement this a bit more flexible in a
regular X client program that listens to X input events and “forges” the
right click upon the right gesture?

-- 
Joachim "nomeata" Breitner
Debian Developer
  [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to