130 CHAPTER 5 Scripting
Vx Works DryOS Lua Description
49
50
SHOOTING_MODE Shooting mode dial position
We list here only the most common shooting modes. A complete list of
shooting modes is found in library modelist.lua in folder CHDK/LUALIB/.
Some of the Canon shooting mode numbers (in front of the equality sign) dif-
fer from camera to camera. The latest findings are listed on http://chdk.wikia.
com/wiki/Mode_dial_propcase_values.
The values in parenthesis are the CHDK shooting mode numbers.
–32768 = AUTO (1)
–32764 = P (2)
–32765 = Tv (3)
–32766 = Av (4)
–32767 = M (5)
–32755 = PORTRAIT (6)
–32757 = NIGHT (7)
–32756 = LANDSCAPE (8)
2597 = VIDEO_STD (640/30fps) (9)
2598 = VIDEO_SPEED (320/60fps ) (10)
2599 = VIDEO_COMPACT (160/15fps) (11)
–32246 = Stitch Assist
–32248 = Digital Macro
1 Photo effect
2 225 Sharpness for custom MyColors setting
355 Saturation for custom MyColors setting
459 Contrast for custom MyColors setting
227 Long time exposure
1 in “Night snapshot” scene mode or when exposure time is set to > = 1s,
0 otherwise.
5 268 White balance
0 = Auto
1 = Daylight
2 = Cloudy
3 = Tungsten
4 = Fluorescent
5 = Fluorescent H
6 = Flash
7 = Custom
6 102 DRIVE_MODE Drive mode
0 = Single
1 = Continuous
>1 = Timer