Thread
:
BlessN900 - better camera for N900
View Single Post
eugene.panich
2011-03-08 , 04:42
Posts: 115 | Thanked: 284 times | Joined on Jun 2010
#
173
Originally Posted by
nicolai
just out of curiosity, how do you made this.
We use an 'official' utility /usr/sbin/dsmetool to turn on/off the launch of standard camera.
Catching the cover open/closing:
bool ret = QDBusConnection::systemBus().connect(QString(),
DBUS_LENS_COVER,
"org.freedesktop.Hal.Device",
"PropertyModified",
this,
SLOT(lenscover_property_modified(int, QList<Property>)));
Quote & Reply
|
The Following 2 Users Say Thank You to eugene.panich For This Useful Post:
nicolai
,
OVK
eugene.panich
View Public Profile
Send a private message to eugene.panich
Visit eugene.panich's homepage!
Find all posts by eugene.panich