This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#8934 - Colourful flashlight
Attached to Project:
Rockbox
Opened by Alexander Papst (DerPapst) - Friday, 25 April 2008, 06:30 GMT+2
Opened by Alexander Papst (DerPapst) - Friday, 25 April 2008, 06:30 GMT+2
|
DetailsAfter reading the irc log shortly after the flashlight plugin was committed i noticed that some want the ability back to finetune the colour of the display. This time i've added a fixed point version of the hsv_to_lcd version (thanks to amiconn) and added some more predefined colours. You can "skip" forwards or backwards to the nearest predefined colour (however, it's probably not the nicest way of doing it i guess).
I've also implemented another request to switch the backlight on and off (even for non colour targets) and it now uses the remote backlight too. Controls: Targets with a 4 button cross: Up/Down: fine tune Left/Right: jump to next predefined colours (including white) Select: switch backlight on and off Targets with scroll wheel: Scroll left/right: fine tune Left/right or fwd/rew: jump to next predefined colours (including white) Select: switch backlight on and off I've tried to guess the most intuitive button layout on all targets and even use the remote buttons. However i only own a small number of targets so if you think it can be done better let me know. :-) Tested on iPod Video, Mini (sim), H300 (sim) and m:robe 100. |
This task depends upon
* Added support for buttonlights and (where available) setting the buttonlight to max brightness (gigabeat f for example)
* Make sure the plugin quits if USB is connected.
@DerPapst: shoudn't the plugin return a special value (and not just PLUGIN_OK) if USB has been detected?
BTW: Does a real flashlight offer some fancy color spectacle? I don't think so.
...and then having the problem to start it again (with another button). A real flashlight does not usually have fancy colors but this not related to the ability to turn it on/off.
I don't see any difference. Isn't exiting the plugin the same as turning the flashlight off?
Also i don't quiet get what the problem is with turning the backlight on and off in flashlight. It's not like that it hurts somebody. If you don't like it, don't use it and quit the plugin instead of using this feature. Also one could argue that if you quit the plugin the backlight (and button light) isn't instantly off. But whatever. I didn't expect so much emotions because of such a small plugin :-)
* return PLUGIN_USB_CONNECTED if usb is connected.
Sync to svn r17262
* Follow the HAVE_TOUCHPAD introduced in r17262.
kill a warning.