A2200 IS porting thread - page 26 - DryOS Development - CHDK Forum

A2200 IS porting thread

  • 515 Replies
  • 181332 Views
Re: A2200 IS porting thread
« Reply #250 on: 11 / February / 2012, 14:45:05 »
Advertisements
Probably needs "#define CAM_DRIVE_MODE_FROM_TIMER_MODE 1" in platform_camera.h for bracketing to work with the self timer.

Phil.

I'll put this is and try it out!

On unrelated note, can any one tell me how to define the key for editing user menu's, or which one is used now? Going trough CHDK guides, neither half_shoot or +/- (on this cam overridden by up) works.

Re: A2200 IS porting thread
« Reply #251 on: 11 / February / 2012, 14:57:13 »
On unrelated note, can any one tell me how to define the key for editing user menu's, or which one is used now? Going trough CHDK guides, neither half_shoot or +/- (on this cam overridden by up) works.
Did you enable it with the OSD | User Menu Enable | [Edit]  option ?

Update :  Its the Erase button on my G10.
« Last Edit: 11 / February / 2012, 15:01:38 by waterwingz »
Ported :   A1200    SD940   G10    Powershot N    G16

Re: A2200 IS porting thread
« Reply #252 on: 11 / February / 2012, 15:18:17 »
On unrelated note, can any one tell me how to define the key for editing user menu's, or which one is used now? Going trough CHDK guides, neither half_shoot or +/- (on this cam overridden by up) works.
Did you enable it with the OSD | User Menu Enable | [Edit]  option ?

Update :  Its the Erase button on my G10.

Yes, I enable edit mode. Also, erase button is overridden by down on this cam. That's why I want to know how where it's defined, to see which one is now and to change it to half_press.

Re: A2200 IS porting thread
« Reply #253 on: 11 / February / 2012, 15:37:43 »
Yes, I enable edit mode. Also, erase button is overridden by down on this cam. That's why I want to know how where it's defined, to see which one is now and to change it to half_press.
The file you are looking for is core/gui_menu.c.   Look for the routine  gui_menu_kbd_process()

Code: [Select]
void gui_menu_kbd_process() {

    switch (kbd_get_autoclicked_key() | get_jogdial_direction()) {
#if CAM_HAS_ERASE_BUTTON
        case KEY_ERASE:
#else
        case KEY_SHOOT_HALF:
#endif
            if (conf.user_menu_enable == 3) {
                if (curr_menu->title != LANG_MENU_USER_MENU) {
   

CAM_HAS_ERASE_BUTTON is defined by default in include/camera.h.   If you want to disable this then you need to uncomment the line :

Code: [Select]
   // #undef  CAM_HAS_ERASE_BUTTON
in the A2200's  platform_camera.h file.

Ported :   A1200    SD940   G10    Powershot N    G16


Re: A2200 IS porting thread
« Reply #254 on: 11 / February / 2012, 15:48:52 »
Thanks waterwingz!

I'll try it out and if it works, post new update tomorrow.

Re: A2200 IS porting thread
« Reply #255 on: 11 / February / 2012, 18:09:16 »
I'll try it out and if it works, post new update tomorrow.
Do you have a copy of all the beta source code ?  If so, post a zip and I'll do a patch file for you to get this into the svn under ALPHA status marked not to be included in the autobuild server (at least for now).

Thanks - hate to see this dissappear if somebody has a hard drive failure or something.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: A2200 IS porting thread
« Reply #256 on: 12 / February / 2012, 16:30:08 »
Update!

User menu's now work (use HALF_PRESS to edit), bracketing with self timer now also work.

Builds and updated full source:

* build (2012.02.08 2012.02.12): CHDK-a2200-100b-1.0.0_BETA.zip firmware version 1.00b, use the Card Lock method
* build (2012.02.08 2012.02.12): CHDK-a2200-100c-1.0.0_BETA.zip firmware version 1.00c, use the Card Lock method
* build (2012.02.08 2012.02.12): CHDK-a2200-100d-1.0.0_BETA.zip firmware version 1.00d, use the Card Lock method
* source (2012.02.08 2012.02.12): chdk.a2200.zip based on CHDK version 1.0 (stable branch, rev. 1665)

Re: A2200 IS porting thread
« Reply #257 on: 13 / February / 2012, 11:31:02 »
Good to see that this bracketing bug is getting fixed, creating HDR's was one of my primary wishes for this camera model...I look forward to your update, and I will be sure to test is to the best of my abilities!


Re: A2200 IS porting thread
« Reply #258 on: 17 / February / 2012, 22:21:22 »
Sorry, where is i can get scripts for CHDK?

Re: A2200 IS porting thread
« Reply #259 on: 18 / February / 2012, 09:05:00 »
Sorry, where is i can get scripts for CHDK?

There are many great .bas scripts and resources right here: http://chdk.wikia.com/wiki/UBASIC/Scripts

 

Related Topics