Adjust - require long press ON (1s)

Started by fx23, March 09, 2019, 05:46:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fx23

Hi,

I have latest ML on T2i and looking for best way to adjust longer time on:

ML menu - Movie - REC key - Require long press ON (1s)

Now it could be set for one second only. I would like to extend it to 6-10 sec. This way I can have much better use for AF halfpress for T2i on Jib.

Anybody have any ideas how to increase this?

Walter Schulz

Follow instructions to build a development environment:
https://www.magiclantern.fm/forum/index.php?board=25.0 ->
- Compiling Magic Lantern on a Macintosh
or
- Compiling Magic Lantern on Windows 10 (using its Linux subsystem)

and change
    if (HALFSHUTTER_PRESSED)
    {
        if (movie_rec_key_long)
        {
            // need to keep halfshutter pressed for one second
            for (int i = 0; i < 10; i++)
            {
                msleep(100);
                if (!HALFSHUTTER_PRESSED) break;
            }
            if (!HALFSHUTTER_PRESSED) return;
            info_led_on();
            NotifyBox(1000, "OK");

in movtweaks.c
line
           for (int i = 0; i < 10; i++)
to
           for (int i = 0; i < 60; i++)
Done: 6 seconds. Compile and copy new build to card.

fx23