[maemo-developers] Maemo documentation - feedback time is now

From: Marius Gedminas marius at pov.lt
Date: Wed Mar 28 17:16:36 EEST 2007
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, Jukka-Pekka.Iivonen at nokia.com 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:

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20070328/fa1e19eb/attachment.pgp 
More information about the maemo-developers mailing list