This is a standard test script included in the full CHDK distribution. It is used to verify the correct function of the capture mode control API.
This script attempts to set the specified mode capture mode. Before and after the attempt, the mode status is printed in the format
prop PPP mode NNN rec R
where PPP is the canon shooting mode, NNN is the CHDK mode value, and R is 1 for REC and 0 for PLAY.
If the mode after the set call doesn't match the requested value, an error is reported.
The script waits for a key press after finishing
- 0 canon mode. The value is interpreted as a canon shooting mode value.
- 1 CHDK mode. The value is interpreted as a CHDK mode value.
PROPCASE_SHOOTING_MODE or CHDK value per above.
- This script is supported only in CHDK Version 0.9.9 build 847 and later
- Ixus40/SD300 Missing required function