[QtMoko] Accelerometers

Radek Polak psonek2 at seznam.cz
Wed May 25 18:02:53 CEST 2011


giacomo 'giotti' mariani wrote:

> Hello everyone,
>       I'm developing my first QtMoko application in which I'd like to
> use accelerometers.
> Is there any QtClass which is suitable for that goal? Have you got any
> hints?

There is no QT API right now, you have to read straight from the input device:

https://github.com/radekp/qtmoko/tree/master/src/3rdparty/games/qtmaze

or

https://github.com/radekp/qtmoko/blob/master/src/3rdparty/applications/qx/rotate.h
https://github.com/radekp/qtmoko/blob/master/src/3rdparty/applications/qx/rotate.cpp

Regards

Radek



More information about the community mailing list