View Single Post
MSameer's Avatar
Posts: 605 | Thanked: 1,778 times | Joined on Feb 2008 @ Helsinki
#79
Originally Posted by Hacker View Post
Using N9 Button Monitor app, you can program the N9 to use the volume buttons as the camera button. The problem is that the volume buttons will always have their original function in addition to the programmed camera button function, which means that they will zoom in or out, altering the shot.

If cameraplus could bypass the normal zoom function of the volume rocker buttons, so that they could be used soley as focus-shoot camera controls, then that would be double awesome. The on-screen controls of the zoom function are plenty effective--I'd love to use the buttons just for focus and shoot.

FYI, as it is now, one approach is to program the long down press of the volume up key as the camera focus activator and the release of the button actually takes the photo. Single button press to shoot is another way.
If you want to prevent camera+ from reacting to zoom key presses then you need to acquire ScaleButtonType resource via policy engine

Using zoom for capturing is not an issue. It's easy to capture an image when you press but the issue is capturing an image involves focusing.

How stock camera and camera+ work is:
- Press the shutter button and immediately release -> grabshot without focusing.
- Press the shutter button for more than 200ms -> start focusing
- Release the shutter button after pressing for more than 200ms -> capture an image regardless of the focus state.
- Move your finger out of the button regardless of how long you press -> focus operation stops and capturing never happens.

Now how do I map all the above to 1 zoom button ?

EDIT: I wonder if both buttons (zoom + and - ) can be pressed at the same time? If so then we can use one for focus and the other for capturing. It seems possible to press both on my N950 but yet to try on N9. Not sure what qmsystem will report in such case

Last edited by MSameer; 2013-03-10 at 23:43.