S100 porting thread - page 18 - DryOS Development - CHDK Forum supplierdeeply

S100 porting thread

  • 286 Replies
  • 124265 Views
Re: S100 porting thread
« Reply #170 on: 15 / September / 2012, 19:02:11 »
Advertisements
Since the camera now has an erase button, you can remove #undef  CAM_HAS_ERASE_BUTTON from platform_camera.h
That will cause CHDK to use the button for shortcuts and user menu edits.  Might not be what he wants based on his original post ?
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline srsa_4c

  • ******
  • 4451
Re: S100 porting thread
« Reply #171 on: 15 / September / 2012, 19:15:44 »
That will cause CHDK to use the button for shortcuts and user menu edits.
I don't see how that should prevent him from pressing the erase button from a script?

Re: S100 porting thread
« Reply #172 on: 15 / September / 2012, 19:32:13 »
That will cause CHDK to use the button for shortcuts and user menu edits.
I don't see how that should prevent him from pressing the erase button from a script?
You're correct - it won't.  But it will enable some shortcut modes that he might not want. (I'm not a big shortcut fan). I guess to be consistent with other cameras it should be added.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: S100 porting thread
« Reply #173 on: 15 / September / 2012, 21:43:15 »
That will cause CHDK to use the button for shortcuts and user menu edits.
I don't see how that should prevent him from pressing the erase button from a script?
You're correct - it won't.  But it will enable some shortcut modes that he might not want. (I'm not a big shortcut fan). I guess to be consistent with other cameras it should be added.

Adding the bit to the KEY_MASK0 worked! Thanks so much! I can submit a patch... its a two line change though... maybe just an email to someone?  :D

I did notice some raw images started showing up on my SD card even though I did not turn on raw in the cameras standard menus or the CHDK menus as the lua script was running. Is this from pressing the set button... this page says thats what may be doing it: http://chdk.wikia.com/wiki/CHDK_User_Manual.

I have not tried to un-undef CAM_HAS_ERASE_BUTTON yet. I may try and I can report the behaviour. I can't seem to find any hints on the wiki what will happen.

While my script runs, should I take the camera out of alt mode?

Thanks again!




Re: S100 porting thread
« Reply #174 on: 15 / September / 2012, 21:49:07 »
Adding the bit to the KEY_MASK0 worked! Thanks so much! I can submit a patch... its a two line change though... maybe just an email to someone?  :D
Patch files posted here  <<link>> work best.   Might as well give it a try - this might not be your only one !

Quote
I did notice some raw images started showing up on my SD card even though I did not turn on raw in the cameras standard menus or the CHDK menus as the lua script was running. Is this from pressing the set button... this page says thats what may be doing it: http://chdk.wikia.com/wiki/CHDK_User_Manual.
I usually notice it when the save time goes from 1/2 second to 4 or more seconds.

Quote
I have not tried to un-undef CAM_HAS_ERASE_BUTTON yet. I may try and I can report the behaviour. I can't seem to find any hints on the wiki what will happen.
Probably the biggest change is that when you are creating user menu entries,  you can use the Erase button rather than half-press of the shutter button.   (I really dislike anything that needs a "half press" - about 50% of the time I end up with a full press and not the result I was trying for).

Grep the core directory in the source tree for "CAM_HAS_ERASE_BUTTON" if you want to see where less it shows up.

Quote
While my script runs, should I take the camera out of alt mode?
Typically not - when you do that,  button presses start going through to the Canon firmware.
Ported :   A1200    SD940   G10    Powershot N    G16

Re: S100 porting thread
« Reply #175 on: 16 / November / 2012, 14:08:26 »
Quote
Quote

    and unfortunately, the wheel_left (or right) is not effective with the S100. So i cannot simulate button clicking.
    any idea ?


This sounds like a bug - you should report it in the S100 porting thread

Refering to an other discussion, did someone already test the
wheel_left    Y   Y   simulates moving jog dial wheel to the left
wheel_right    Y   Y   simulates moving jog dial wheel to the right
on the S100 ?
I cannot effectively use it. Apparently no effect !
I wanted to try these function to change drive and bracketing mode.
thanks for support

*

Offline c10ud

  • ***
  • 245
Re: S100 porting thread
« Reply #176 on: 17 / November / 2012, 07:55:14 »
Jogdial is currently not implemented because i couldn't get my head around it at the time.

I don't have the S100 anymore, I hope another developer will take care of it

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: S100 porting thread
« Reply #177 on: 17 / November / 2012, 16:20:59 »
Quote
Quote

    and unfortunately, the wheel_left (or right) is not effective with the S100. So i cannot simulate button clicking.
    any idea ?


This sounds like a bug - you should report it in the S100 porting thread

Refering to an other discussion, did someone already test the
wheel_left    Y   Y   simulates moving jog dial wheel to the left
wheel_right    Y   Y   simulates moving jog dial wheel to the right
on the S100 ?
I cannot effectively use it. Apparently no effect !
I wanted to try these function to change drive and bracketing mode.
thanks for support

Are you talking about the rear dial among the buttons or the front ring around the lens?

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)


Re: S100 porting thread
« Reply #178 on: 17 / November / 2012, 17:02:53 »
Quote
Are you talking about the rear dial among the buttons or the front ring around the lens?
I was talking of rear dial wheel. (but did not find either way to use front wheel !)
M.

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: S100 porting thread
« Reply #179 on: 17 / November / 2012, 17:22:52 »
Quote
Are you talking about the rear dial among the buttons or the front ring around the lens?
I was talking of rear dial wheel. (but did not find either way to use front wheel !)
M.

Ok, just to confirm - the rear dial works correctly in the CHDK menus; but the Lua script functions 'wheel_left' and 'wheel_right' don't work. Correct?

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

 

Related Topics