First part of mode override support. See http://chdk.kernreaktor.org/mantis/view.php?id=64
+ support for posting logical events, and other event fuctions in lua
+ script support for setting mode to play or rec. Note, get_mode will currently return incorrect values on many cameras if the mode is set this way, which will affect both script and some CHDK functions. This will be addressed in a future version.
+ logical event related entry point SetLogicalEventActive? for all cameras except ixus40_sd300
+ logical event related entry points SetScriptMode?, PostLogicalEventForNotPowerType?, PostLogicalEventToUI for all cameras
+ entry SetCurrentCaptureModeType? for all cameras except ixus40_sd300 ixus50_sd400 (might be right, unsure). This will be used to support capture mode overrides in a future version, not currently exposed.
+ playrec_mode variable for all cameras except ixus40_sd300 ixus50_sd400. This will allow mode_get in future version to return the right result on cameras that depended on the physw_status bits of the mod/rec hardware switch
+ to tools:
generic dump access code dumputil.c, dumputil.h
find_levent.c finds and optionally dumps levent table
find_eventproc.c very dumb/simple search for name/pointer pairs, useful for eventprocs that are too small for finsig
These are not added to "make all" in tools, because they are not needed in the normal build process. Use the executable name or "make extras" in tools.
Except as noted above, all the entry points and addresses have been verified with at least a superficial check