AF button to halfshutter while Live View on 500D

Started by Greg, August 06, 2012, 07:54:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Greg

How can i find the code to the AF button ?
The following code does not work with the liveview

#define BGMT_PRESS_ZOOMOUT_MAYBE 0xD

-----------------------------------------------------------------------------------

if (lv && HALFSHUTTER_PRESSED)
            {
                fake_simple_button(BGMT_PRESS_ZOOMOUT_MAYBE);
            }


I wanted to move the AF button to halfshutter while Live View on 500D

a1ex

Isn't this already in Canon menus?

To find out button codes, go to debug.c and change this:


void spy_event(struct event * event)
{
-    if (get_draw_event())
+    if (1)


but half-shutter press is "special".

Greg


a1ex


Greg


a1ex

I still don't understand what you want do do.

Maybe play with those:

cfn_set_af_button(AF_BTN_HALFSHUTTER);
cfn_set_af_button(AF_BTN_STAR);

Greg

500D does not have this feature for LiveView

Focusing on the LV 500D only works with this button
http://img444.imageshack.us/img444/9808/500d.jpg

a made help for panoramas - http://www.youtube.com/watch?v=n1i-ATzy3WY&feature=channel  ;D