summaryrefslogtreecommitdiff
path: root/firmware/drivers/button.c
AgeCommit message (Collapse)Author
2005-04-19iRiver: added support for hold-button on main unit and remote controlChristian Gmeiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6320 a1c6a512-1295-4272-9138-f99709370657
2005-04-18iRiver: Correct port pin setup for the local and remote keypadLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6308 a1c6a512-1295-4272-9138-f99709370657
2005-04-15iRiver: Independent backlight timers for the main and remote LCDLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6303 a1c6a512-1295-4272-9138-f99709370657
2005-02-11iRiver: Support for remote control buttonsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5909 a1c6a512-1295-4272-9138-f99709370657
2005-02-10iRiver: added remote hold switch, and allow shutdown when chargingLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5886 a1c6a512-1295-4272-9138-f99709370657
2005-02-07long policyJean-Philippe Bernardy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5844 a1c6a512-1295-4272-9138-f99709370657
2005-02-05more precise settings for GMini adc levelsJean-Philippe Bernardy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5794 a1c6a512-1295-4272-9138-f99709370657
2005-02-02Added ON button support for gminiJean-Philippe Bernardy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5738 a1c6a512-1295-4272-9138-f99709370657
2005-01-27Ooops, I did it again...Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5673 a1c6a512-1295-4272-9138-f99709370657
2005-01-27button_status() no longer calls button_read(), since it isn't interrupt safeLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5670 a1c6a512-1295-4272-9138-f99709370657
2005-01-23(1) Remapped BUTTON_CANCEL->BUTTON_OFF for gmini better representing its ↵Jens Arnold
function, and for consistency. (2) Removed TAB chars, prettified formatting git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5634 a1c6a512-1295-4272-9138-f99709370657
2005-01-10Jean-Philippe Bernardy: gmini100 keypad supportDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5553 a1c6a512-1295-4272-9138-f99709370657
2004-12-01Button driver overhaul: (1) Unified the button driver functions as much as ↵Jens Arnold
possible (2) Proper #defines for FM recorder button ADC channels (3) Got rid of old port B #defines only valid for recorder (4) button filtering for all models (5) RoLo with ON after panic should now work for FM/V2 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5472 a1c6a512-1295-4272-9138-f99709370657
2004-11-30Properly initialize Port A button input pins (player coldstart)Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5471 a1c6a512-1295-4272-9138-f99709370657
2004-11-25Remote control working againJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5467 a1c6a512-1295-4272-9138-f99709370657
2004-11-18Added iRiver button handlingLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5430 a1c6a512-1295-4272-9138-f99709370657
2004-10-12Now the FM, V2 and Ondio players use the new SYS_POWEROFF event. Now you can ↵Linus Nielsen Feltzing
safely turn off the player by holding OFF. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5259 a1c6a512-1295-4272-9138-f99709370657
2004-10-08Button flip enabled on OndioJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5226 a1c6a512-1295-4272-9138-f99709370657
2004-09-28a hell of a commit: changed several HAVE_xx configuration flags into ↵Jörg Hohensohn
multiple choice values (keypad, tuner, CPU, h/w codec) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5126 a1c6a512-1295-4272-9138-f99709370657
2004-09-23Added debouncing to the Ondio button driver.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5115 a1c6a512-1295-4272-9138-f99709370657
2004-09-23Fixed yellow buildHenrik Backe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5111 a1c6a512-1295-4272-9138-f99709370657
2004-09-23An attempt to filter the button readingLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5109 a1c6a512-1295-4272-9138-f99709370657
2004-09-20Disabled all code for the serial remote on Ondio, since the serial port is ↵Jens Arnold
needed for MMC access. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5097 a1c6a512-1295-4272-9138-f99709370657
2004-09-20Removed the Neo code. Nobody is interested in it.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5096 a1c6a512-1295-4272-9138-f99709370657
2004-09-19Redesigned the button handling. The code now uses symbolic function defines ↵Björn Stenberg
instead of checking for specific buttons. This makes it easier to add support for new devices with different button layouts. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5091 a1c6a512-1295-4272-9138-f99709370657
2004-09-15Ondio levels adjusted, use ADC channel namesJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5074 a1c6a512-1295-4272-9138-f99709370657
2004-09-10minor oopsJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5056 a1c6a512-1295-4272-9138-f99709370657
2004-09-10adjustment for the Ondio: button driver has an Odio part, for now it has a ↵Jörg Hohensohn
Player layout. Some fixes in the app code were necessary to remove dependencies of LCD, keypad, this wasn't independent everywhere. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5055 a1c6a512-1295-4272-9138-f99709370657
2004-09-01button_clear_queue() now works as expectedLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5031 a1c6a512-1295-4272-9138-f99709370657
2004-07-24Now doesn't generate extraneous key-down events when releasing one key in a ↵Linus Nielsen Feltzing
combo git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4939 a1c6a512-1295-4272-9138-f99709370657
2004-07-21Added raw button reading functionalityLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4907 a1c6a512-1295-4272-9138-f99709370657
2004-06-22Added reset_poweroff_timer(), which can be used to prevent idle poweroff. ↵Linus Nielsen Feltzing
This is also available in the plugin API. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4787 a1c6a512-1295-4272-9138-f99709370657
2004-06-16remove C++/C99 commentDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4753 a1c6a512-1295-4272-9138-f99709370657
2004-03-22No need to turn on the backlight for remote button presses.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4432 a1c6a512-1295-4272-9138-f99709370657
2004-03-02Made set_irq_level() an inline function, and optimized it by removing the ↵Linus Nielsen Feltzing
bit shifts git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4330 a1c6a512-1295-4272-9138-f99709370657
2004-02-25The cli()/sti() functions are not safe. We should have removed them long ago.Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4314 a1c6a512-1295-4272-9138-f99709370657
2004-01-01nicer handling of button_flip(), swap stored value, too, and avoid race ↵Jörg Hohensohn
condition git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4184 a1c6a512-1295-4272-9138-f99709370657
2003-12-20Upside Down option for display (and buttons) now wired into the display ↵Jörg Hohensohn
settings menu, persistence, simulator stubs git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4168 a1c6a512-1295-4272-9138-f99709370657
2003-12-12adjustments for NeoDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4130 a1c6a512-1295-4272-9138-f99709370657
2003-09-19Removed reboot when DC connected. It serves no purpose and is confusing to ↵Björn Stenberg
users. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3956 a1c6a512-1295-4272-9138-f99709370657
2003-05-27Since remote uses special button codes, there is no need to simulate release ↵Björn Stenberg
events. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3702 a1c6a512-1295-4272-9138-f99709370657
2003-02-25Faster shutoff with OFF key on FM RecorderLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3331 a1c6a512-1295-4272-9138-f99709370657
2003-02-14The power-saving SLEEP patch by Simon Elén.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3259 a1c6a512-1295-4272-9138-f99709370657
2003-01-24Remove use of rockbox-mode.el in local variables list.Mats Lidell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
2003-01-16Ludovic Lange's initial code for FM Recorder, edited and adjusted by me.Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3110 a1c6a512-1295-4272-9138-f99709370657
2002-10-16Removed all traces of the repeat and release masksLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2684 a1c6a512-1295-4272-9138-f99709370657
2002-10-16Don't reboot unless we are connected to a chargerLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2683 a1c6a512-1295-4272-9138-f99709370657
2002-10-09Filters out AN5 keys if UP is pressed. Solves bug #619028.Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2545 a1c6a512-1295-4272-9138-f99709370657
2002-10-08New analog button levels (again)Linus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2531 a1c6a512-1295-4272-9138-f99709370657
2002-10-02Remote control now sends both key-down and key-up eventsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2476 a1c6a512-1295-4272-9138-f99709370657