[Gta04-owner] Accelerometer integration

Neil Jerram neil at ossau.homelinux.net
Sat Jul 7 16:28:20 CEST 2012


Hi Radek,

Attached are a couple of accelerometer patches for GTA04.  QtMaze works
nicely with these, although it would be good for others to try too, and
report if it seems too sensitive.

Radek Polak <psonek2 at seznam.cz> writes:

> yes this sounds good. Maybe we could copy qtmobility api [1].

> [1] http://doc.qt.nokia.com/qtmobility/sensors-api.html

I looked at that and thought it a bit more complicated that what we need
immediately; in particular I'm not sure I like the Reading classes.  So
I haven't implemented that API.  It could of course be done as a layer
on top of the basic accelerometer library - but for me that would be
motivated by whether there are interesting apps that already use the
qtmobility API.

I see that eyepiece also has some accelerometer code in it... I'll
probably take a look next at getting that working, by changing it to use
the new library.

Regards,
        Neil


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Adapt-accelerometer-code-for-GTA04.patch
Type: text/x-diff
Size: 8435 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20120707/0d9a40b7/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Move-accelerometer-code-into-a-library.patch
Type: text/x-diff
Size: 26788 bytes
Desc: not available
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20120707/0d9a40b7/attachment-0003.bin>


More information about the Gta04-owner mailing list