PARAMETERS: 1-make immediate shoot,
| 2-log debug information into file,
| 4-dump liveview image from RAM to a file,
| 8-on immediate shoot, don't release shutter.
| OR-ed values are accepted, e.g. use 9 for
| immediate shoot & don't release shutter
md_detect_motion a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p
(1 = "click shoot_full", 9 = "press shoot_full")
triggering shutter with n set to e.g. 1 or 9 should be faster than triggering it after comparing the returned variable etc.
and with the current implementation of Lua it's the only way to trigger shutter with motion detection