Detecting the scene mode - General Discussion and Assistance - CHDK Forum

Detecting the scene mode

  • 4 Replies
  • 1460 Views
*

Offline RaduP

  • *****
  • 890
Detecting the scene mode
« on: 28 / September / 2009, 20:48:49 »
Advertisements
Is there an easy (and standard) way to detect the scene mode the camera is set to?
There are not nearly enough buttons on the SD980, and I was thinking to use a scene mode (lots of useless ones) to enable CHDK. Is this doable?

*

Offline reyalp

  • ******
  • 12159
Re: Detecting the scene mode
« Reply #1 on: 28 / September / 2009, 21:02:35 »
Is there an easy (and standard) way to detect the scene mode the camera is set to?
Yes.
Quote
There are not nearly enough buttons on the SD980, and I was thinking to use a scene mode (lots of useless ones) to enable CHDK. Is this doable?
If by "enable" you mean access the alt menu, that would be very inconvenient. It would also be a significant change from the way other ports work, since they all expect "alt" to be a button.

If you mean something else, you need to clarify.
Don't forget what the H stands for.

*

Offline RaduP

  • *****
  • 890
Re: Detecting the scene mode
« Reply #2 on: 28 / September / 2009, 21:17:19 »
Yes, that's what I mean. Anyway, did you look at that camera? Can you suggest which button should be used for ALT? :)
The least used button would be Disp, in record mode. But it is quite useful in play mode..
« Last Edit: 28 / September / 2009, 21:19:02 by RaduP »

*

Offline reyalp

  • ******
  • 12159
Re: Detecting the scene mode
« Reply #3 on: 28 / September / 2009, 21:33:03 »
Yes, that's what I mean. Anyway, did you look at that camera? Can you suggest which button should be used for ALT? :)
The least used button would be Disp, in record mode. But it is quite useful in play mode..
You can make it so that a short press accesses alt mode and a long press does the original function (or possibly the reverse). Disp or Play would both be candidates for this.

There was some discussion of this in the ixus100 thread http://chdk.setepontos.com/index.php/topic,3995.45.html

Or if you figure out how the touchscreen interface works, you could make it so tapping a particular part of the screen entered alt mode ;)
Don't forget what the H stands for.


*

Offline RaduP

  • *****
  • 890
Re: Detecting the scene mode
« Reply #4 on: 28 / September / 2009, 21:43:21 »
Well, I guess I will use Disp for now, and see later about long/short presses. BTW, I can detect the touch as a button press, but not the location. I'll look more into the location once I am able to use the keyboard. So far, I am at the stage where I display the keyboard presses on screen to get their mask.

 

Related Topics