reyalpI'm not really sure what to do with half press. Ideally, you should be able to use it like the camera shutter button, so you click something to halfpress, then something to either cancel of full shoot.
A button for half pressed shutter is useful for a check (fokus ok?, Tv, Av). You don't need to take a photo.
I think static buttons for capture modes is not the best idea. We can get a camera-dependent mode list with a little script request.
function getcammode()
modemap=require("GEN/modelist")
capmode=require("capmode")
local mode_list="" -- string
--local mode_list={} -- table
for i=1, #modemap do
if capmode.valid(modemap[i]) then mode_list=mode_list..modemap[i].."|" end -- string variant
--if capmode.valid(modemap[i]) then table.insert(mode_list, modemap[i]) end --table variant
end
return mode_list
end
With a dropdown box you can select the capture mode.
capmode=require('capmode') capmode.set(mode_list[n]) --table variant
I also think, we need more camera data (get_buildinfo(), get_vbatt(), get_free_disk_space() ect.)
msl