On Wed, Mar 28, 2007 at 03:52:18PM +0300, Daniel Stone wrote: > On Wed, Mar 28, 2007 at 03:24:42PM +0300, ext Marius Gedminas wrote: > > On Wed, Mar 28, 2007 at 01:05:01PM +0300, [EMAIL PROTECTED] wrote: > > > Maemo tutorial and how-to documention are in > > > http://maemo.org/platform/docs/how-to.html. There exists API > > > documentation as well on > > > http://maemo.org/platform/docs/api-index.html. So the question is are > > > they good enough, what could be improved, any bugs, two few examples > > > or specs, wrong format, or other things that are on your way to block > > > hacking on some area or on a particular topic? Thanks, already in > > > advance! > > > > A week ago I was unable to find documentation how to detect thumb > > presses in Maemo 3.0. > > Enable extended events in your GTK application, and ensure that axis 2 > (i.e. the third axis) is set as PRESSURE (set_axis_use) or something, > and now the PRESSURE field of every event will be valid. OTOH, I think > GTK might already do this for you.
Thanks. Here's some source code for that as well: http://groups.google.com/group/fbreader/msg/86fceebf61e5e358 It's from FBReader. That method distinguishes stylus taps from thumb presses in all Maemo versions that do i tin three different ways. There is one bit of guesswork there. What's the pressure value threshold used to detect thumb presses in the system by such controls as the thumb-aware menus? Marius Gedminas -- This host is a black hole at HTTP wavelengths. GETs go in, and nothing comes out, not even Hawking radiation. -- Graaagh the Mighty on rec.games.roguelike.angband
signature.asc
Description: Digital signature
_______________________________________________ maemo-developers mailing list [email protected] https://maemo.org/mailman/listinfo/maemo-developers
