Okay...
I just read around, and realised I wanted tetris, then I had to compile my own chdk. While I was at it I figured I could to write this feature in the sources, and this is what I wrote. AFAIK, it works, but I would still like to know what you think about it, like why this might be a bad idea or something. Note I have not tested this on anything else than IXUS70, so results may wary. It should however work(not mess normal functionality up) for all cams.
The changed code in trunk796\platform\generic\shooting.c
void shooting_set_nd_filter_state(short v, short is_now)
{
#if CAM_HAS_ND_FILTER
if ((mode_get()&MODE_MASK) != MODE_PLAY){
if (is_now) {
if (v==1) _PutInNdFilter();
else if (v==2) _PutOutNdFilter();
if (shutter_koef[conf.tv_override_koef]==0) {
if ((shooting_get_av96()>500)&(v==2)) shooting_set_tv96_direct(shooting_get_tv96()+278, is_now);
if ((shooting_get_av96()<500)&(v==1)) shooting_set_tv96_direct(shooting_get_tv96()-278, is_now);
}
}
else photo_param_put_off.nd_filter=v;
}
#endif
}
I guess this is kinda in the wrong subforum now that it is not a request anymore, but I would like to know what you guys think.