[maemo-developers] Rotation support.. :(

From: Timo Härkönen timop.harkonen at gmail.com
Date: Sat Nov 7 17:51:16 EET 2009
Hi

Do you start the accelerometer? It isn't enabled by default.

Don't know about GTK, but with Qt it goes like this:

QDBusConnection::systemBus().call(QDBusMessage::createMethodCall(MCE_SERVICE,
MCE_REQUEST_PATH,MCE_REQUEST_IF, MCE_ACCELEROMETER_ENABLE_REQ));

And when exiting the application ... MCE_ACCELEROMETER_DISABLE_REQ

Timo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20091107/95def02f/attachment.htm 
More information about the maemo-developers mailing list