S3IS: Add shortcut for EV adjustments (Allbest build) - page 4 - General Discussion and Assistance - CHDK Forum supplierdeeply

S3IS: Add shortcut for EV adjustments (Allbest build)

  • 47 Replies
  • 10738 Views
Re: S3IS: Add shortcut for EV adjustments (Allbest build)
« Reply #30 on: 13 / April / 2008, 10:05:08 »
Advertisements
Deleted
« Last Edit: 22 / April / 2008, 14:08:45 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: S3IS: Add shortcut for EV adjustments (Allbest build)
« Reply #31 on: 14 / April / 2008, 12:31:24 »
okay, here is part of my sourcecode:
from kbd.c (s3is one, i didnt know how to include it in generic platforms one, compiler threw error!?????)
Code: (c) [Select]
long kbd_use_up_down_as_fast_ev() {
    static long key_pressed = 0;
if (!(kbd_is_key_pressed(KEY_UP)) && !(kbd_is_key_pressed(KEY_DOWN))) key_pressed = 0;
    if (kbd_is_key_pressed(KEY_UP) && (mode_get()&MODE_MASK) == MODE_REC &&  ((mode_get()&MODE_SHOOTING_MASK) != MODE_M) && (canon_shoot_menu_active==0)) {

        if (conf.fast_ev && key_pressed == 0) {
            kbd_key_press(KEY_SHOOT_HALF);
            shooting_set_prop(25,shooting_get_prop(25)+(conf.fast_ev_step+1)*16);
            shooting_set_prop(26,shooting_get_prop(26)+(conf.fast_ev_step+1)*16);
            key_pressed = KEY_UP;
            return 1;
        }

    }
    if (kbd_is_key_pressed(KEY_DOWN) && (mode_get()&MODE_MASK) == MODE_REC &&  ((mode_get()&MODE_SHOOTING_MASK) != MODE_M) && (canon_shoot_menu_active==0)) {
           if (conf.fast_ev && key_pressed == 0) {
            kbd_key_release_all();
            kbd_key_press(KEY_SHOOT_HALF);
            shooting_set_prop(25,shooting_get_prop(25)-(conf.fast_ev_step+1)*16);
            shooting_set_prop(26,shooting_get_prop(26)-(conf.fast_ev_step+1)*16);
            key_pressed = KEY_DOWN;
            return 1;
        }

    }
    return 0;
}

in core/kbd.c:

Code: (c) [Select]
if (conf.use_zoom_mf && kbd_use_zoom_as_mf()) {
      return 1;
  }
+    if (conf.fast_ev && kbd_use_up_down_as_fast_ev()) {
+     return 1;
+ }

what i realized is, that kbd_key_press(KEY_SHOOT_HALF); doesnt work there, it is probably (well, for sure!) not the right place, also my checks arent right yet.
anyone got an idea how to check for "if button pressed longer than 50 ms continue raising ev correction for about one step per 20 ms or so". the halfpress maybe would also be a good idea to include. but: i guess when button up is pressed AND halfpress, the other shortcuts come into effect. right?

Re: S3IS: Add shortcut for EV adjustments (Allbest build)
« Reply #32 on: 14 / April / 2008, 13:28:01 »
Deleted
« Last Edit: 22 / April / 2008, 14:09:10 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: S3IS: Add shortcut for EV adjustments (Allbest build)
« Reply #33 on: 15 / April / 2008, 06:13:48 »
maybe dataghost will have an idea on this.
played around a bit with flash overrides, but to no avail. if flash can be overridden then definitly not via the propcases.


Re: S3IS: Add shortcut for EV adjustments (Allbest build)
« Reply #34 on: 15 / April / 2008, 09:03:47 »
Deleted
« Last Edit: 22 / April / 2008, 14:09:30 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye

S3IS: How do I get tot hte ALT menu?
« Reply #35 on: 15 / April / 2008, 21:07:34 »
Would someone mind explicitly saying how it is that one enters ALT mode in the S3 IS?

The FAQ refers to a "Miscellaneous Stuff" menu, which I can't find or identify.

I've just installed CHDK and want to get to ALT mode so I can make the SD card boot directly into CHDK.

All the info I've seen so far has not been explicit about this.  Thanks for any tips.

Re: S3IS: Add shortcut for EV adjustments (Allbest build)
« Reply #36 on: 16 / April / 2008, 00:13:12 »
Deleted
« Last Edit: 22 / April / 2008, 17:59:46 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: S3IS: Add shortcut for EV adjustments (Allbest build)
« Reply #37 on: 16 / April / 2008, 05:26:22 »
updated the builds in http://chdk.setepontos.com/index.php/topic,978.0.html. this feature should now work on all platforms, not only s3is.
it is still lacking the "make display show ev changes directly without halfpressing shutter" feature.
*should* work on all cams.


Re: S3IS: Add shortcut for EV adjustments (Allbest build)
« Reply #38 on: 16 / April / 2008, 17:05:53 »
Deleted
« Last Edit: 22 / April / 2008, 14:09:49 by Barney Fife »
[acseven/admin commented out: please refrain from more direct offensive language to any user. FW complaints to me] I felt it imperative to withdraw my TOTAL participation. Nobody has my permission, nor the right, to reinstate MY posts. Make-do with my quoted text in others' replies only. Bye

Re: S3IS: Add shortcut for EV adjustments (Allbest build)
« Reply #39 on: 17 / April / 2008, 12:23:04 »
Hello PhyrePhoX,

I just downloaded and tested your builds.
This is GREAT! Now I can quickly have the camera do the metering and choose the EV that I think is appropriate, watching the histogram at the same time. Sweet!

Two comments
- when going from - to + EV, 0 is not displayed correctly. Must be that not all caracters are overwritten (
- the RGB histogram from CHDK does not change (this would be nice). The Canon histogram on my S3 is adapted real-time though. But not every camera has this live-histogram

I found this very good for metering, maybe it helps someone:
Expose Right
Basically they say, you should always al far right as possible to have the maximum of information for post-processing.

Thanks!!

obitus

 

Related Topics