summaryrefslogtreecommitdiff
path: root/firmware/target/arm/sandisk/sansa-e200/button-e200.c (follow)
Commit message (Collapse)AuthorAge
* Get rid of stupid _backlight_* function namesMarcin Bukat2015-01-12
| | | | | | _remote_backlight_* and _buttonlight_* are cleaned as well Change-Id: I73653752831bbe170c26ba95d3bc04c2e3a5cf30
* kernel: Break out kernel primitives into separate files and move to separate ↵Thomas Martitz2014-03-03
| | | | | | | | | dir. No code changed, just shuffling stuff around. This should make it easier to build only select parts kernel and use different implementations. Change-Id: Ie1f00f93008833ce38419d760afd70062c5e22b5
* e200v1 seems to be ok using USB-enabled bootloader. Also, include the ↵Michael Sevakis2011-01-16
| | | | | | bootloader USB .lds into the boot.lds instead of pasting into every one to keep things sane for now-- commented upon inside. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29062 a1c6a512-1295-4272-9138-f99709370657
* Make the call to buttonlight_on() properly depend on HAVE_BUTTON_LIGHTFrank Gevaerts2010-09-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28096 a1c6a512-1295-4272-9138-f99709370657
* e200v1: What's the wheel deal? Rework wheel code to make it a bit more ↵Michael Sevakis2010-06-22
| | | | | | straightforward and increase control a bit. Change button interrupt to clear after bitflip. Use atomic GPIO bitwise macros for everything. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27037 a1c6a512-1295-4272-9138-f99709370657
* Move declaration of button_int and clickwheel_int to the proper header file ↵Bertrik Sikken2008-06-29
| | | | | | instead of declaring it locally in the .c file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17874 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
* Undo r17470 because of regressions in some debug menus.Andree Buschmann2008-05-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17472 a1c6a512-1295-4272-9138-f99709370657
* Fix for FS#5162. Being able to read scrollwheel action via ↵Andree Buschmann2008-05-12
| | | | | | button_read_device() for iPod's and e200. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17470 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#8341 - rename BUTTON_SCROLL_UP/DOWN to FWD/BACK on the e200 to ↵Jonathan Gordon2008-01-10
| | | | | | make it consistant with the ipods. apart from removing a bit of confusion, it fixes the wheel in pictureflow and possibly elsewhere. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16045 a1c6a512-1295-4272-9138-f99709370657
* FS#7738 - Scroll wheel acceleration for iPodLinus Nielsen Feltzing2007-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15681 a1c6a512-1295-4272-9138-f99709370657
* Name all button light functions and variables consistently starting with ↵Jens Arnold2007-10-07
| | | | | | buttonlight_ . git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15016 a1c6a512-1295-4272-9138-f99709370657
* Kick the idle poweroff timer on wheel activity. Should fix FS #7786Peter D'Hoye2007-09-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14747 a1c6a512-1295-4272-9138-f99709370657
* Hrmph. That was just weird to do that.Michael Sevakis2007-08-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14211 a1c6a512-1295-4272-9138-f99709370657
* e200: Make sure backlight will never get stuck off for long periods from the ↵Michael Sevakis2007-08-06
| | | | | | wheel. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14210 a1c6a512-1295-4272-9138-f99709370657
* Wheel acceleration for e200. A general acceleration interface intended for ↵Michael Sevakis2007-07-22
| | | | | | use on any scroll target and by any code. A general interface to obtain data associated with most recently dequeued button presses and actions. Use #define HAVE_SCROLLWHEEL and set appropriate constants, values in the scroller driver that feel right. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13959 a1c6a512-1295-4272-9138-f99709370657
* PP5024 (e200): There's more than one HI IRQ bit for enabling GPIO IRQs. Port ↵Michael Sevakis2007-06-17
| | | | | | A uses bit 32 and port F,H use bit 33. Please add futher GPIOx_IRQ/MASK defines and associations to pp5024.h as they are discovered. I guess the SD card patch will need a small update to properly detect insertion. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13647 a1c6a512-1295-4272-9138-f99709370657
* e200: Update the button init code to be more correct for using GPIO IRQs.Michael Sevakis2007-06-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13539 a1c6a512-1295-4272-9138-f99709370657
* e200: Finally use GPIO IRQs for the buttons...it's IRQ enable bit 33 ↵Michael Sevakis2007-06-03
| | | | | | afterall and verified independently. There shouldn't now be a need to add tick tasks to monitor GPIO level status in other code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13538 a1c6a512-1295-4272-9138-f99709370657
* Bring buttons back to the e200 bootloader?Michael Sevakis2007-05-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13493 a1c6a512-1295-4272-9138-f99709370657
* Didn't even notice that Sansa bootloader warning until now. Fix it.Michael Sevakis2007-05-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13373 a1c6a512-1295-4272-9138-f99709370657
* GPIO IRQ ready button driver for e200 series. Can't actually use them yet ↵Michael Sevakis2007-05-11
| | | | | | but their status is polled. Easy to switch over once that works. Cheapo acceleration added or else it would be too fast for selecting items. Too much scrolling might cause the PCM buffer to empty out - beware. ) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13371 a1c6a512-1295-4272-9138-f99709370657
* clean up some #include'sChristian Gmeiner2007-04-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13247 a1c6a512-1295-4272-9138-f99709370657
* fix bootloaderJonathan Gordon2007-04-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13245 a1c6a512-1295-4272-9138-f99709370657
* e200: Make the wheel light timeout configurable (under settings > system) ↵Jonathan Gordon2007-04-22
| | | | | | (FS#7067) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13244 a1c6a512-1295-4272-9138-f99709370657
* allow the backlight on hold setting to work correctly on sansaJonathan Gordon2007-04-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13206 a1c6a512-1295-4272-9138-f99709370657
* hmm.... do it a bit nicerlyJonathan Gordon2007-04-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13196 a1c6a512-1295-4272-9138-f99709370657
* Only trigger a wheel press once per click like the OFJonathan Gordon2007-04-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13195 a1c6a512-1295-4272-9138-f99709370657
* Add support for Sansa scrollwheel backlight. Turn light on when scrollwheel ↵Barry Wardell2006-12-18
| | | | | | is in use, then back off again after a 5 second timeout. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11807 a1c6a512-1295-4272-9138-f99709370657
* Add support for scroll wheel to Sansa button driver. Should be replaced with ↵Barry Wardell2006-12-16
| | | | | | an interrupt based driver to improve responsiveness (once we figure out how). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11772 a1c6a512-1295-4272-9138-f99709370657
* Fix a stupid bug (thanks to Frieder Ferlemann.) Get rid of MS-DOS line endings.Daniel Ankers2006-10-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11230 a1c6a512-1295-4272-9138-f99709370657
* Untested first attempt at a Sansa button driver. Based on work by MrHDaniel Ankers2006-10-14
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11219 a1c6a512-1295-4272-9138-f99709370657