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

Re: Right-click for wacom driver?



-----BEGIN PGP SIGNED MESSAGE-----
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
other
> 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
button
> 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.

Cheers,

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

iEYEARECAAYFAksKKIIACgkQaS6HaNQHFTnECgCcC6MNxm2jsEY7CQub95yNOopi
pscAn22rD1bPtr5BOlf7kgDTopddWymP
=My3Z
-----END PGP SIGNATURE-----


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