If I get_prop 0,x which is camera mode - it always reads 0 no matter where the switches are set. I switched to x=get_mode - and I always get 1 no matter how the switches are set.
My question is - should code like this run in this beta or do I have some problem specific to my setup?
How would you edit the user menu? The User Manual says to press the "+/- button or the equivalent button on the camera" when User Menu is set to edit. The half-shoot button doesn't do it either.
If nobody offers a clarification here, I'll wade through the code to figure out what it is trying to do.
FYI the half-shoot button is used in some cameras, i think Maybe the SD400 used that when I had it. http://chdk.wikia.com/wiki/User_menu ...but it doesn't work on the SD940. does that have to be assigned or something?
Another beta release for firmware 1.03B - but this time I think I might have it fixed ! http://www.box.net/shared/40ymdqx4ogLooking for testing help and feedback as usual - I don't have a camera with this firmware version.
If I get_prop 0,x which is camera mode - it always reads 0 no matter where the switches are set.
@title set mode test@param a param@default a 49:TTsleep 500get_prop a xprint "param=",a, "value=",xgoto "TT"
FYI the half-shoot button is used in some cameras, i think Maybe the SD400 used that when I had it.
I tried it on my camera using the half-shoot button and can confirm that it does not add entries to the user menu. I took a look at the code in gui.c and confirmed that half-shoot is what the code is looking for. I'll wade through debugging when I have a little more time.
Another beta release for firmware 1.03B - but this time I think I might have it fixed !
I have version ixus120_sd940-103b-0.9.9-1114-full-rev3 successfully installed on my 103b. Now I am ready for tests. There seems to be quite a lot what I could test but maybe you're interested in some dedicated tests of certain things. Let me know!
Did a little research and here's what I've found so far. There are four different versions of the camera properties you are trying to access - it changes with camera model. In the CHDK source code, these are defined as CAM_PROPSET 1, 2, 3 or 4. Your SD400 used propset 1 but the SD940 uses propset 3 (this may or may not be right). With propset 1, you use get_prop 0 x to read the camera mode dial - with propset 3 the correct value appears to be get_prop 49 x .
Started by philmoz « 1 2 ... 28 29 » CHDK Releases
Started by philmoz « 1 2 ... 13 14 » CHDK Releases
Started by philmoz « 1 2 ... 7 8 » DryOS Development
Started by waterwingz « 1 2 ... 12 13 » CHDK Releases
Started by trdsupragt General Discussion and Assistance