maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Volume button use in app (https://talk.maemo.org/showthread.php?t=60081)

Grinchman 2010-08-10 09:51

Volume button use in app
 
I decide to use volume buttons (+\-) to control some functionality in my app. As for camera_shutter button, I thought that volume buttons are controled via DBus. But looked at dbus-monitor i had not found any dbus messages for volume buttons (monitor was in active state when camera app had runs and volume buttons had used too change zoom). I`m confused! And how I can to control the states of those buttons? :confused:

MohammadAG 2010-08-10 12:41

Re: Volume button use in app
 
http://wiki.maemo.org/Documentation/...me.2Fzoom_keys
http://wiki.maemo.org/Documentation/..._Zoom_Out_keys

Grinchman 2010-08-11 10:28

Re: Volume button use in app
 
MohammadAG, thanks! It`s really useful links! ) But anyway, it`s strange for me, that some device buttons are very fine controlled via DBus, but some other buttons are managed completely different!


All times are GMT. The time now is 21:50.

vBulletin® Version 3.8.8