After an initial false start, I'm getting down and up events for the pad
center button (keyval 65421) - is there a standard constant for this value?
BTW, although not generally useful, for one handed operation this sort of
thing (pad center to mouse click mapping) can come in handy. For example,
form-filling, speech-enabled applications can benefit if the user can easily
tab from one field to another then click-and-hold while they speak. This is
easily done with the stylus, but the extra flexibility is cool.
----- Original Message -----
From: "Philip Blundell" <pb@nexus.co.uk>
To: "DL" <dlacct@hotmail.com>
Cc: <gpe@handhelds.org>
Sent: Friday, May 02, 2003 7:22 PM
Subject: Re: [Gpe] Mapping buttons to mouse events
> On Sat, 2003-05-03 at 00:06, DL wrote:
> > Can the Pad-center press and release events be mapped to button_press
and
> > button_release for any button widget that has the focus? Eg, to allow
the
> > user to navigate to a GtkEntry field with the pad and simulate a
> > stylus-down/stylus-up sequence?
>
> The centre of the pad just generates ordinary key events (for KP_Enter
> at present, though I'm kind of tempted to change this to Return). I'm
> not sure that mapping these to mouse button taps would be generally
> useful, but there is no reason you couldn't arrange that in your own
> application.
>
> p.
>
>
Received on Mon May 05 16:17:46 2003
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:41:31 EDT