#undef CAM_REMOTE_AtoD_CHANNEL // Camera supports using 3rd battery terminal as well as USB for remote - value = A/D channel to poll (normally 5) #define CAM_REMOTE_AtoD_THRESHOLD 200 // 3rd battery terminal A/D reading threshold ( lower = 1, higher = 0 ) #undef CAM_REMOTE_HDMI_HPD // Camera supports using HDMI hotplug detect for remote signal #undef CAM_REMOTE_HDMI_POWER_OVERRIDE // Camera requires HDMI power to be forced on in rec mode #undef CAM_REMOTE_ANALOG_AV // Camera supports analog AV detect for remote signal
=return call_event_proc'Driver.Create' =t={} for i=0,10 do t[i] = call_event_proc('GetAdChValue',i) end return t
i have now tested it on my g7x (just the hdmi hot plug related stuff), everything is working.
Control of HDMI power:From script, it could be used as an output for microcontroller, UAV etc applications, which has been requested occasionally.