change Shutter bouton for S110

  • 14 Replies
  • 2570 Views
change Shutter bouton for S110
« on: 12 / April / 2016, 03:33:07 »
Advertisements
Hello ChdK community.

I'm french (poor english !) and quite new as Chdk user.
My camera : Canon S110 powershot.

the shutter button of my camera no longer works. But I can still take pictures using the touch screen.

>>  is it possible to program the red bonton "video" to take photo ?

thanks a lot for your help !
Florent

*

Offline srsa_4c

  • ******
  • 3725
Re: change Shutter bouton for S110
« Reply #1 on: 12 / April / 2016, 11:23:16 »
>>  is it possible to program the red bonton "video" to take photo ?
Unfortunately, there is no existing CHDK feature that would allow that.
The shutter button is actually 2 buttons: 1 for half-press and another for full-press. The other camera buttons are simple buttons and can't therefore fully replace the shutter button.

A theoretical feature would be the possibility to assign a camera button as a replacement for a wired (USB) remote. But it is not implemented.

*

Offline reyalp

  • ******
  • 11583
Re: change Shutter bouton for S110
« Reply #2 on: 12 / April / 2016, 16:47:30 »
You could also use a script with some logic to simulate half press, like first click of the video button presses and holds half, second does full, some other action cancels.

It's possible to write a script that passes most of the other keys through to the canon firmware (my contae script is an example)

None of this would a substitute for a working shutter button, but might be better than touch only.

An additional problem is that script is normally started with the shutter button, so you'd have to use autostart or a custom CHDK build with a different key.
Don't forget what the H stands for.

change Shutter bouton for S110
« Reply #3 on: 12 / April / 2016, 18:17:31 »
If a custom version of CHDK is contemplated, it would not be too difficult to hard code the button remapping into the key code so that the fix was essentially invisible.
Ported :   A1200    SD940   G10    Powershot N    G16


*

Offline reyalp

  • ******
  • 11583
Re: change Shutter bouton for S110
« Reply #4 on: 12 / April / 2016, 20:49:19 »
If a custom version of CHDK is contemplated, it would not be too difficult to hard code the button remapping into the key code so that the fix was essentially invisible.
Dealing with half / full press makes it a bit trickier than just remapping the key.
Don't forget what the H stands for.

Re: change Shutter bouton for S110
« Reply #5 on: 12 / April / 2016, 22:08:20 »
If a custom version of CHDK is contemplated, it would not be too difficult to hard code the button remapping into the key code so that the fix was essentially invisible.
Dealing with half / full press makes it a bit trickier than just remapping the key.
True.   Seems like there are two options here when the video button is pressed. The first just needs key remapping, the second is a bit more complicated.

  • Simulate the same things as mashing the shutter button down hard without waiting for a half-press beep to confirm the camera is ready to shoot. On most of my cameras,  this will always shoot and usually with focus and exposure set correctly.
  • Activate the half-press bit,  wait for focus/exposure, activate the full-press bit.

In either case,  the user does not get the nice feature of checking exposure/focus with a half press and maybe deciding not to shoot.  But SD card space is cheap so a shot on every press of the video button does not seem like a bad compromise?
Ported :   A1200    SD940   G10    Powershot N    G16

Re: change Shutter bouton for S110
« Reply #6 on: 13 / April / 2016, 08:04:27 »
Hi, This is Florent .

First of all, thanks to the attention you paid to my post :  I must be able to take photo with a button ... because I use my camera for diving ! and the touch screen is not usefull in a housing :-)

as a starter, I tried yersterday the folowing script (before reading your comments):

@title bouton
if click "video"
then shoot
end

Key Point : I do not need video, just photo. I assume that focus and exposure will be correct. if not i will improve the script.
if it is more easy, the "ring fct" (delete)  buton may be used also , or any other (but not flash control, nor macro control)...

but, as said by Reyalp, to start a script, I need the shutter button :-). i have not any idea to bypass this constraint.
so  i have not any idea if my very small script may run !

Waterwings and other suggest a "custom version" of CHDK ?. what is it ?

thanks again, I do think that this usage of chdk may save my camera ?!



change Shutter bouton for S110
« Reply #7 on: 13 / April / 2016, 08:14:09 »
As reyalp posted, you can configure CHDK to automatically start your script when the camera is turned on. It's an option in the CHDK script menu.  The script can put the camera into shooting mode and then take pictures each time a button is pressed.  Note that when the script is running, all buttons are disabled.  They will not perform their normal Canon function. So you probably also want to check a different button so that you can exit the script and stop shooting.

Your little script needs a loop added.  As written, it will check the video button, shoot if it is pressed, and then exit. 

A custom version of CHDK is one where the core CHDK software is changed to do something special.  Making the video button function as the shutter button without using a script for example.  It is a lot of work to do by someone with special skills so a script solution is usually better.

Update : you can also configure CHDK to automatically start a script when you enter <ALT> mode.  So a single line script that just does a "shoot" should work each time you enter <ALT>.  You'll have to press the button again to exit <ALT> of course. 
« Last Edit: 13 / April / 2016, 08:30:16 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16


Re: change Shutter bouton for S110
« Reply #8 on: 13 / April / 2016, 15:50:49 »
Bonjour Florent, hello to all
with the same problem, i would simply use a "wait_click" command in a "quasi-permanent" loop. this would allow to shoot when any key is pressed. This will work if script is autostarted, and no other settings are to be done. (or they need to be made in script).
maybe something like

rem la valeur i permet de définir le nombre de prises
@param i nb of shoot
@default i 10
a = 0
do
a= a+1
wait_click
shoot
sleep 1000
 until a > i
exit_alt
end

not tested.
the script should stop when nb of shoot is made, or when you press on/off as the shutter key is unactive
do not hesitate if i can help further.







Re: change Shutter bouton for S110
« Reply #9 on: 13 / April / 2016, 19:42:03 »
Here's the script I referred to earlier (attached).   You can use the CHDK script menu to have it start when the camera is started,  or start when you press the <ALT> key to enter CHDK.

The script switches the camera to shooting mode when it starts and will take a picture each time you press the video button.   If you press any other button,  the script will stop, allowing you to continue in CHDK <ALT> mode.
Ported :   A1200    SD940   G10    Powershot N    G16

 

Related Topics