difference that get_user_tv96 is immediately updated while get_tv96 requires a shoot_half press button to update.
Anyway if I set TV with set_tv96_direct I have no way to read back the value from the camera because no function reads the override value.
Then the a final note: the set_tv96_direct setting seems to work correctly only with the shoot function, if I use the press("shoot_full") the override doesn't apply.
Quote from: burglar on 02 / April / 2018, 16:28:17Then the a final note: the set_tv96_direct setting seems to work correctly only with the shoot function, if I use the press("shoot_full") the override doesn't apply. It should apply in all cases, however, if you press shoot_full without pressing shoot_half and waiting for the camera to be ready (e.g. "press'shoothalf' repeat sleep(10) until get_shooting()" ), this takes a different code path. It's possible the override doesn't work correctly in this case.
Liveview magnification (digital zoom) can be activated via the following Lua command:post_levent_to_ui(0x11ea,1) : "5x" zoompost_levent_to_ui(0x11ea,0) : normal viewWhen activated this way, the UI differs slightly from the usual (the one that is invoked via touchscreen): four directional arrows are added to the overlay (they are not coupled with touch actions).
post_levent_to_ui(0x11ea,1)press("shoot_half")repeat sleep(10)until get_shooting()return
so I think this is the same function.
Do you think the x10
and the movement of the area of zoom will be possible too?
You need to execute this once per session:call_event_proc("UI.CreatePublic")
ERROR: call failed:[string "call_event_proc("UI.CreatePublic")"]:1: attempt to call global 'call_event_proc' (a nil value)
Looking in the forum it seems that in order to have this function , the CHDK has to be compiled with the "native" calls enabled
Either that, or enable it in CHDK menu: miscellaneous stuff -> enable lua native calls.
Do you think the x10 and the movement of the area of zoom will be possible too?
Started by axman
« 1 2 3 »
Started by burglar
Creative Uses of CHDK
Started by reyalp
Started by David475