disable display off in ... option - General Discussion and Assistance - CHDK Forum  

disable display off in ... option

  • 2 Replies
  • 3639 Views
*

Offline reyalp

  • ******
  • 14117
disable display off in ... option
« on: 19 / January / 2014, 17:35:26 »
Advertisements
msl's patch in http://chdk.setepontos.com/index.php?topic=11135.0 reminded me of another thing that's been bugging me fr a long time.

The disable display off option is an enum [never, alt, script, always]

It would be nice to have an option for PTP as well, but it doesn't make sense to have it as part of the enum, since you might want "ptp or alt", or "ptp or script"
Don't forget what the H stands for.

Re: disable display off in ... option
« Reply #1 on: 19 / January / 2014, 17:44:50 »
It would be nice to have an option for PTP as well, but it doesn't make sense to have it as part of the enum, since you might want "ptp or alt", or "ptp or script"
Rather than make it a menu choice, why not add something that can be enable / disabled via ptp command ?
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline reyalp

  • ******
  • 14117
Re: disable display off in ... option
« Reply #2 on: 19 / January / 2014, 18:22:49 »
It would be nice to have an option for PTP as well, but it doesn't make sense to have it as part of the enum, since you might want "ptp or alt", or "ptp or script"
Rather than make it a menu choice, why not add something that can be enable / disabled via ptp command ?
I think it's more of a user preference than a PTP client thing. Making client store the setting and send it every time they connect seems round about. With a menu options, scripts can also set it using set_config_val if needed

The other issue I forgot to mention in my first post is how we detect "ptp connection". In reality we only have the USB bit, and whether the USB remote is masking it (get_usb_bit_physw).
Don't forget what the H stands for.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal