I want be able just to trigger flashlight in play mode with lens contracted. Just strobe without any capturing (I've already implemented "just AF LED").
I've tried to insert the code:
StartEFCharge(NULL);
while(!IsStrobeChargeCompleted()) msleep(10);
StopEFCharge();
struct { long type; long bright1; long bright2 } q = {1, 1, 1};
StartInternalPreFlash(&q);
But liker can't find these functions for A470. grepping showed signs of presence of such functions only in ixus60_sd600.
And I don't know how to add these functions. And I don't know where to get addresses of them.
How to trigger the flash from code? All other posts and "dataghost" branch are outdated (2008) and with no signs of A* models.
P.S. my hacked CHDK for A470:
http://github.com/vi/chdk-vi/commits/master