[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Right-click for wacom driver?

Hash: SHA1

On 11/22/2009 05:09 PM, Peter Hutterer wrote:
> On Sun, Nov 22, 2009 at 03:25:27PM -0800, Luya Tshimbalanga wrote:
>> I am not sure if the current linuxwacom can do similar action. If so,
>> how can it be done?
> the principle would be similar to the middle mouse button emulation in
> drivers. when a press is detected, a timer is set. that timer is cancelled
> by a button release but if the timer expires normally a right click/button
> 3 event is posted to the server.
> Of course, you'd need to take some motion filtering into account to avoid
> having every drag action converted into right clicks.
> The main usability issue is sorting out whether to delay the original
> press until the timeout is triggered or to send the button 1 press
> immediately and fake the release before posting button 3.
> My tendency is that the former is better, the latter would not allow for
> right clicks without previous selection. I'd be curious what windows
does in
> that regard though.
In reply to Windows behaviour for the right-click, button 1 (assuming it
is left-click) is pressed, there seems to be a slight delay before the
timer is triggered for button 3. It sounds similar to the first method
you mentioned. Because of closed nature of Windows, I don't know how
that exactly works.

I think it would be nice to include that functionality someday.


- -- 
Luya Tshimbalanga
Graphic & Web Designer
E: luya fedoraproject org
W: http://www.thefinalzone.net
Version: GnuPG v1.4.10 (GNU/Linux)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]