Thanks for the information, but, I'm a bit confused.
Scripts in CHDK are always .LUA or .BAS
You mentioned "C"
What you're saying is for me to make my own CHDK build with extra C code for this.
You're definitely trying to send me to my grave. Joking, but that's a little too advanced for me.
Also, regarding the "eventprocs with call_event_proc or call_func_ptr", this does sound like it's much simpler. Could you please maybe give me a little explanation on this. I read through it, and it reminded me when I was debugging in a Commodore64, and I am known for causing CPU Halts, so, haha, I don't want to mess up my camera. I just need something in terms of context. I'm not exactly sure about the syntax, since there isn't a lot of documentation on CHDK, unfortunately, and I have to try guessing what something means. Thanks.