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
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".
AF button and halfshutter have the same value.
And that value is EVENTID_METERING_START ;)
It will be difficult if it is possible.
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);
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