summaryrefslogtreecommitdiff
path: root/apps/plugins/lamp.c (follow)
Commit message (Collapse)AuthorAge
* Lamp plugin: Allow toggling the button light using "select".Frank Gevaerts2015-02-22
| | | | Change-Id: I0f276a74010ef463ebdb0eb0cc00fc50123966f0
* Additional colors for lamp.rockHayden Pearce2013-02-04
| | | | | | | | | | | | | | | | | | | | | | | | | | - Available colors (in order of display): white - default red orange yellow green blue indigo violet black - More colors combined with the existing brightness control (also added by myself) allow for a much wider range of light to suit the user's current mood or environment - ToDo(?): * add a color picker for custom colors * allow custom colors to be saved for later user Change-Id: I0b2f6376a408acaa9b2459b2fa56b43f5427b965 Reviewed-on: http://gerrit.rockbox.org/390 Tested-by: Hayden Pearce <saint.lascivious@gmail.com> Reviewed-by: benjamin brown <foolshperson@gmail.com> Tested-by: benjamin brown <foolshperson@gmail.com> Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
* Fix reds. No need for #ifdef to save buttons anymore.Thomas Martitz2012-02-08
| | | | Change-Id: I31833ecf0725bbfbdd2905390e2e9b63918cbe3a
* LAMP plugin PLA integration (main code + manual)Jean-Louis Biasini2012-02-08
| | | | | | | | | | | | 1) this patch replace all keymaps with PLA ones. It also clean some optionnal compiling that are not needed anymore througt PLA 2) the patch also made required change to the manual in order to match code's change. Change-Id: I54ec953f79a419a6bb2f78877ca8b82f572fb510 Reviewed-on: http://gerrit.rockbox.org/86 Reviewed-by: Thomas Martitz <kugel@rockbox.org> Tested-by: Thomas Martitz <kugel@rockbox.org>
* Initial commit of the Samsung YP-R0 port.Thomas Martitz2011-12-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This port is a hybrid native/RaaA port. It runs on a embedded linux system, but is the only application. It therefore can implement lots of stuff that native targets also implement, while leveraging the underlying linux kernel. The port is quite advanced. User interface, audio playback, plugins work mostly fine. Missing is e.g. power mangement and USB (see SamsungYPR0 wiki page). Included in utils/ypr0tools are scripts and programs required to generate a patched firmware. The patched firmware has the rootfs modified to load Rockbox. It includes a early/safe USB mode. This port needs a new toolchain, one that includes glibc headers and libraries. rockboxdev.sh can generate it, but e.g. codesourcey and distro packages may also work. Most of the initial effort is done by Lorenzo Miori and others (on ABI), including reverse engineering and patching of the original firmware, initial drivers, and more. Big thanks to you. Flyspray: FS#12348 Author: Lorenzo Miori, myself Merry christmas to ypr0 owners! :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31415 a1c6a512-1295-4272-9138-f99709370657
* Sandisk Sansa Connect port (FS #12363)Tomasz Moń2011-11-16
| | | | | | | | Included are drivers for buttons, backlight, lcd, audio and storage. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31000 a1c6a512-1295-4272-9138-f99709370657
* Sansa clip zip: make more plugins compile (lamp, wormlet, matrix)Bertrik Sikken2011-11-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30974 a1c6a512-1295-4272-9138-f99709370657
* fuze+: add lamp keymapAmaury Pouly2011-10-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30650 a1c6a512-1295-4272-9138-f99709370657
* HD300 - plugins keymapsMarcin Bukat2010-11-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28712 a1c6a512-1295-4272-9138-f99709370657
* FS#11546: Adjustable brightness in lamp pluginTeruaki Kawashima2010-11-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28519 a1c6a512-1295-4272-9138-f99709370657
* More plugin keymaps for the HDD6330. Quite a lot of commits. ;)Robert Menes2010-11-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28450 a1c6a512-1295-4272-9138-f99709370657
* lamp plugin:Teruaki Kawashima2010-11-01
| | | | | | | | -handles sys_events. -disable idle poweroff (part of FS#11578 by Hayden Pearce.) -correct button table in the manual. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28429 a1c6a512-1295-4272-9138-f99709370657
* Second try: Introduce plugin_crt0.c that every plugin links.Thomas Martitz2010-08-24
| | | | | | | | | | | | | It handles exit() properly, calling the handler also when the plugin returns normally (also make exit() more standard compliant while at it). It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore. To work better together with callbacks passed to rb->default_event_handler_ex() introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it. In most cases rb->default_event_handler_ex() was passed a callback which was manually called at all other return points. This can now be done via atexit(). In future plugin_crt0.c could also handle clearing bss, initializing iram and more. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27873 a1c6a512-1295-4272-9138-f99709370657
* Revert "Introduce plugin_crt0.c that every plugin links."Thomas Martitz2010-08-23
| | | | | | Too much errors and no time to fix them now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27863 a1c6a512-1295-4272-9138-f99709370657
* Introduce plugin_crt0.c that every plugin links.Thomas Martitz2010-08-23
| | | | | | | | | | | | | It handles exit() properly, calling the handler also when the plugin returns normally (also it makes exit() more standard compliant while at it). It also holds PLUGIN_HEADER, so that it doesn't need to be in each plugin anymore. To work better together with callbacks passed to rb->default_event_handler_ex introduce exit_on_usb() which will call the exit handler before showing the usb screen and exit() after it. In most cases it was passed a callback which was manually called at all other return points. This can now be done via atexit(). In future plugin_crt0.c could also handle clearing bss, initializing iram and more. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27862 a1c6a512-1295-4272-9138-f99709370657
* lamp: use HAVE_NEGATIVE_LCDRafaël Carré2010-03-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25205 a1c6a512-1295-4272-9138-f99709370657
* lamp: invert backlight for Clipv2/Clip+ tooRafaël Carré2010-03-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25200 a1c6a512-1295-4272-9138-f99709370657
* Packard Bell Vibe 500: Start committing plugin keymaps.Szymon Dziok2010-02-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24610 a1c6a512-1295-4272-9138-f99709370657
* Cowon D2: Rename COWOND2_PAD -> COWON_D2_PAD to match macro used in manual, andTomer Shalev2009-12-15
| | | | | | | to target naming conventions in general git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24010 a1c6a512-1295-4272-9138-f99709370657
* Start committing plugin keymaps for the Philips GoGear SA9200.Robert Menes2009-12-02
| | | | | | | | | I still have more plugins to finish, but this is an initial start and I can at least get them under version control in case I need to revise any. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23813 a1c6a512-1295-4272-9138-f99709370657
* * Fix plugin keymaps for VX777Maurus Cuelenaere2009-08-31
| | | | | | | | | * Enable plugins for VX777 * Fix VX777 simulator All done by Aaron DeMille. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22576 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#10251. Plugins for the YH-820, YH-920, and YH-925 by Jens Erdmann ↵Michael Giacomelli2009-08-04
| | | | | | with improvements and bitmap graphics by me. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22149 a1c6a512-1295-4272-9138-f99709370657
* Enable plugins on the Onda VX747Maurus Cuelenaere2009-04-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20647 a1c6a512-1295-4272-9138-f99709370657
* Remove useless check for HAVE_BACKLIGHT noted in FS#9878Nils Wallménius2009-03-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20563 a1c6a512-1295-4272-9138-f99709370657
* revert r19656 for lamp which is no longer needed. should fix FS#9877Jonathan Gordon2009-02-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19992 a1c6a512-1295-4272-9138-f99709370657
* Fix a wrong check in lamp, spotted by DerPapstJonathan Gordon2009-02-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19925 a1c6a512-1295-4272-9138-f99709370657
* Plugins for the Philips HDD1630. The keymaps are largely untested on the ↵Mark Arigo2009-01-24
| | | | | | device (patches welcome). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19846 a1c6a512-1295-4272-9138-f99709370657
* loader-initialized global plugin API:Andrew Mahone2009-01-16
| | | | | | | | | | | | | | | | | struct plugin_api *rb is declared in PLUGIN_HEADER, and pointed to by __header.api the loader uses this pointer to initialize rb before calling entry_point entry_point is no longer passed a pointer to the plugin API all plugins, and pluginlib functions, are modified to refer to the global rb pluginlib functions which only served to copy the API pointer are removed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19776 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#9617 - Keymaps for Plugins fuze by Thomas Martitz.Michael Giacomelli2009-01-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19673 a1c6a512-1295-4272-9138-f99709370657
* fix yellowJonathan Gordon2009-01-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19658 a1c6a512-1295-4272-9138-f99709370657
* a few more button/statusbar fixes...Jonathan Gordon2009-01-03
| | | | | | | | | | | * hopefully fix the last of the plugins which dont handle the enw SYS event. * fix FS#9750 - WPS's which dont specify (or force the wps on) wernt showing the statusbar at all * lamp, battery_bench, *_flash button handling fixes * plugins using the core menu code will again show the statusbar git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19656 a1c6a512-1295-4272-9138-f99709370657
* Sansa Clip: build plugins (FS#9578)Rafaël Carré2008-11-28
| | | | | | | | | | | | Use unmodified C200 keymap when possible, variation of it when not Use Archos bitmaps when possible Current problems: - Pegbox plugin shows display corruption (corruption is different in the simulator) - Bubbles plugin misses 1 or 2 bottom lines, but if we gain back these lines it occupies a too small area of the screen - Splitted screen (yellow/blue) is a bit weird in most plugins git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19252 a1c6a512-1295-4272-9138-f99709370657
* New makefile solution: A single invocation of 'make' to build the entire ↵Björn Stenberg2008-11-20
| | | | | | | | | tree. Fully controlled dependencies give faster and more correct recompiles. Many #include lines adjusted to conform to the new standards. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19146 a1c6a512-1295-4272-9138-f99709370657
* IAUDIO67_PAD: Add keymaps for most of the plugins, they are not all tested yet.Vitja Makarov2008-10-07
| | | | | | | IAUDIO7: Define MODEL_NAME in config git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18730 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#9308: differentiate between TOUCHPAD & TOUCHSCREENMaurus Cuelenaere2008-08-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18338 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* - use correct define (make lamp plugin work again)Robert Kukla2008-06-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17844 a1c6a512-1295-4272-9138-f99709370657
* Plugin parameters should be const.Steve Bavin2008-05-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
* Lamp plugin: accept the reduced patch of FS #8934 by Alexander PapstPeter D'Hoye2008-05-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17425 a1c6a512-1295-4272-9138-f99709370657
* Rename the flahslight plugin to lamp and add it to the manualPeter D'Hoye2008-05-07
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17406 a1c6a512-1295-4272-9138-f99709370657