Neither have I achieved that the manual focus can be controlled with the zoom trigger, or with the upper wheel.
As far as I know, you must set the camera to manual focus mode, and then use the up and down arrows to focus the camera.
FWIW, looking at the code in kbd_common.c, the CHDK option that Yimiblu references does not appear do anything with manual focus either. It simply remaps the zoom lever to the right & left buttons so that the Canon firmware thinks those buttons are being pressed when you push the zoom lever left or right. Totally useless on an SX40/50/60, which expects MF to be adjusted with the up/down buttons rather than left/right button!
A quick grep of the source tree shows most cameras have this option disabled anyway. I'd suggest adding Code: [Select]#undef CAM_USE_ZOOM_FOR_MFto the SX40/50/60 platform_camera.h files.
Note that if KBD_ZOOM_FOR_MF_USE_MF_KEY is also defined, then CHDK will use the up & down buttons. But it also requires you to hold down the MF key while doing so, which makes no sense for cams where MF is mapped to the function dial buttons.
This kind of code usually comes from way back in the early days of CHDK when functionality was added without a lot of thought to how different cameras are configured. Years later someone notices that it actually does not work.
I was making some noise on this topic in other thread a year ago... in fact I wanted to focus using the zoom, not the jog dial, and managed to get close to it with a basic lua script and set_focus();
as you keep the zoom pressed it would focus further or closer, the real problem was that it could crash the camera or block the zoom,
Tried your modified script a bit, I keep loosing control of the zoom after using it, but don't worry.
yes, that's right... lens barely moves, need to turn off the camera
not very good at english btw
Started by DanieSpreeth
Started by iax
« 1 2 ... 91 92 »
Started by reyalp
Started by mbaiter
General Discussion and Assistance