// Edit: G16 would also run with ...Edit2: Ajeh, ... for the price of "AF frame select" in rec modes, so it´s probably not useful.Code:
if k ~= 'no_key' then if K==1 then click(k); sleep(99) end if K<0 then press(k); sleep(99); release(k); sleep(99) end print('key',k) break end
Sx210 Behaves same...Edit: You talked about the wheel, @ Ix300 & Sx210 CLICK 'menu', ('disp') & 'zoom-*' are ignored, too.
Just found k<0 in modified Dialtest.Lua working on both cams.Code: [Select] if k ~= 'no_key' then if K==1 then click(k); sleep(99) end if K<0 then press(k); sleep(99); release(k); sleep(99) end print('key',k) break end
// G16 Appending Wifi to <alt>-button list was possible, but the "AF frame select" switch would be gone.
Long <ON> ... nothing happens; (?) Short <on> & <play> fine.
#undef CAM_KEY_PRESS_DELAY #define CAM_KEY_PRESS_DELAY 100 // delay after a press if k ~= 'no_key' then if K>0 then click(k); sleep(K*10) end if K<0 then press(k); sleep(-K*10); release(k); sleep(-K*10) end print('key',k,K) break end
You mean the camera doesn't start at all if you hold power?
Quote from: reyalp on 21 / June / 2020, 17:37:19You mean the camera doesn't start at all if you hold power?G16 YES.Long <ON> ... nothing happens (Edit: & Not any LED reaction.)
<alt> seems "script mode" only.
& some people want to 'disable' the Wifi- button...
...With "script mode" I mean 'shutter' starts script.
After starting cam with long <ON> Chdk´s osd & batt icon is displayed & 'shutter' shoots.
Edit : hmmm .. "// no GPIO checks needed with 0x12345678 set, native fw handles long press" in boot.c
FWIW, that only seems to work on a few cameras (definitely g7x, maybe sx60)
Started by dimitrios General Discussion and Assistance
Started by toinech Feature Requests
Started by andrew.stephens.754365 Hotwire! Hardware Mods, Accessories and Insights
Started by koshy « 1 2 ... 12 13 » General Discussion and Assistance
Started by C0NFUS4TR0N General Help and Assistance on using CHDK stable releases