Lua Script - Half Pressed Button

Started by wolf, June 26, 2012, 12:36:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wolf

Hi there,

I would like to create a silent picture (422) with Lua.
Is there a command for a "half pressed Button" in Lua, something like the "shoot(wait, allow_af)" command?
Would it be possible to emulate a half press button with "setprop(id,value) " if there is no command for it, yet?

Thanks

a1ex

Half-shutter press is emulated with PROP_REMOTE_SW1 (0x80020015) : 1 = pressed, 0 not pressed.

wolf

Thanks A1ex!
I will try it.
BTW, How do enable Lua support in the Makefile? CONFIG_PLUGINS = n?


scrax

Also console
CONFIG_PLUGINS = y
CONFIG_CONSOLE = y

I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus | EOS 5D MLbeta5- EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX, PS, LR, RawTherapee, LightZone -no video experience-