summaryrefslogtreecommitdiff
path: root/firmware/drivers/button.c (follow)
Commit message (Collapse)AuthorAge
* Jean-Philippe Bernardy: gmini100 keypad supportDaniel Stenberg2005-01-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5553 a1c6a512-1295-4272-9138-f99709370657
* Button driver overhaul: (1) Unified the button driver functions as much as ↵Jens Arnold2004-12-01
| | | | | | 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
* Properly initialize Port A button input pins (player coldstart)Jens Arnold2004-11-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5471 a1c6a512-1295-4272-9138-f99709370657
* Remote control working againJens Arnold2004-11-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5467 a1c6a512-1295-4272-9138-f99709370657
* Added iRiver button handlingLinus Nielsen Feltzing2004-11-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5430 a1c6a512-1295-4272-9138-f99709370657
* Now the FM, V2 and Ondio players use the new SYS_POWEROFF event. Now you can ↵Linus Nielsen Feltzing2004-10-12
| | | | | | safely turn off the player by holding OFF. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5259 a1c6a512-1295-4272-9138-f99709370657
* Button flip enabled on OndioJens Arnold2004-10-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5226 a1c6a512-1295-4272-9138-f99709370657
* a hell of a commit: changed several HAVE_xx configuration flags into ↵Jörg Hohensohn2004-09-28
| | | | | | multiple choice values (keypad, tuner, CPU, h/w codec) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5126 a1c6a512-1295-4272-9138-f99709370657
* Added debouncing to the Ondio button driver.Jens Arnold2004-09-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5115 a1c6a512-1295-4272-9138-f99709370657
* Fixed yellow buildHenrik Backe2004-09-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5111 a1c6a512-1295-4272-9138-f99709370657
* An attempt to filter the button readingLinus Nielsen Feltzing2004-09-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5109 a1c6a512-1295-4272-9138-f99709370657
* Disabled all code for the serial remote on Ondio, since the serial port is ↵Jens Arnold2004-09-20
| | | | | | needed for MMC access. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5097 a1c6a512-1295-4272-9138-f99709370657
* Removed the Neo code. Nobody is interested in it.Björn Stenberg2004-09-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5096 a1c6a512-1295-4272-9138-f99709370657
* Redesigned the button handling. The code now uses symbolic function defines ↵Björn Stenberg2004-09-19
| | | | | | 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
* Ondio levels adjusted, use ADC channel namesJörg Hohensohn2004-09-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5074 a1c6a512-1295-4272-9138-f99709370657
* minor oopsJörg Hohensohn2004-09-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5056 a1c6a512-1295-4272-9138-f99709370657
* adjustment for the Ondio: button driver has an Odio part, for now it has a ↵Jörg Hohensohn2004-09-10
| | | | | | 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
* button_clear_queue() now works as expectedLinus Nielsen Feltzing2004-09-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5031 a1c6a512-1295-4272-9138-f99709370657
* Now doesn't generate extraneous key-down events when releasing one key in a ↵Linus Nielsen Feltzing2004-07-24
| | | | | | combo git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4939 a1c6a512-1295-4272-9138-f99709370657
* Added raw button reading functionalityLinus Nielsen Feltzing2004-07-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4907 a1c6a512-1295-4272-9138-f99709370657
* Added reset_poweroff_timer(), which can be used to prevent idle poweroff. ↵Linus Nielsen Feltzing2004-06-22
| | | | | | This is also available in the plugin API. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4787 a1c6a512-1295-4272-9138-f99709370657
* remove C++/C99 commentDaniel Stenberg2004-06-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4753 a1c6a512-1295-4272-9138-f99709370657
* No need to turn on the backlight for remote button presses.Björn Stenberg2004-03-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4432 a1c6a512-1295-4272-9138-f99709370657
* Made set_irq_level() an inline function, and optimized it by removing the ↵Linus Nielsen Feltzing2004-03-02
| | | | | | bit shifts git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4330 a1c6a512-1295-4272-9138-f99709370657
* The cli()/sti() functions are not safe. We should have removed them long ago.Linus Nielsen Feltzing2004-02-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4314 a1c6a512-1295-4272-9138-f99709370657
* nicer handling of button_flip(), swap stored value, too, and avoid race ↵Jörg Hohensohn2004-01-01
| | | | | | condition git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4184 a1c6a512-1295-4272-9138-f99709370657
* Upside Down option for display (and buttons) now wired into the display ↵Jörg Hohensohn2003-12-20
| | | | | | settings menu, persistence, simulator stubs git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4168 a1c6a512-1295-4272-9138-f99709370657
* adjustments for NeoDaniel Stenberg2003-12-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4130 a1c6a512-1295-4272-9138-f99709370657
* Removed reboot when DC connected. It serves no purpose and is confusing to ↵Björn Stenberg2003-09-19
| | | | | | users. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3956 a1c6a512-1295-4272-9138-f99709370657
* Since remote uses special button codes, there is no need to simulate release ↵Björn Stenberg2003-05-27
| | | | | | events. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3702 a1c6a512-1295-4272-9138-f99709370657
* Faster shutoff with OFF key on FM RecorderLinus Nielsen Feltzing2003-02-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3331 a1c6a512-1295-4272-9138-f99709370657
* The power-saving SLEEP patch by Simon Elén.Björn Stenberg2003-02-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3259 a1c6a512-1295-4272-9138-f99709370657
* Remove use of rockbox-mode.el in local variables list.Mats Lidell2003-01-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
* Ludovic Lange's initial code for FM Recorder, edited and adjusted by me.Daniel Stenberg2003-01-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3110 a1c6a512-1295-4272-9138-f99709370657
* Removed all traces of the repeat and release masksLinus Nielsen Feltzing2002-10-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2684 a1c6a512-1295-4272-9138-f99709370657
* Don't reboot unless we are connected to a chargerLinus Nielsen Feltzing2002-10-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2683 a1c6a512-1295-4272-9138-f99709370657
* Filters out AN5 keys if UP is pressed. Solves bug #619028.Linus Nielsen Feltzing2002-10-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2545 a1c6a512-1295-4272-9138-f99709370657
* New analog button levels (again)Linus Nielsen Feltzing2002-10-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2531 a1c6a512-1295-4272-9138-f99709370657
* Remote control now sends both key-down and key-up eventsLinus Nielsen Feltzing2002-10-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2476 a1c6a512-1295-4272-9138-f99709370657
* A lot more stable remote control handlingLinus Nielsen Feltzing2002-09-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2447 a1c6a512-1295-4272-9138-f99709370657
* Added timestamps of key presses, for auto-poweroffLinus Nielsen Feltzing2002-09-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2372 a1c6a512-1295-4272-9138-f99709370657
* changed REPEAT_INTERVAL_START back to 4 as it originally wasEric Linenberg2002-09-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2210 a1c6a512-1295-4272-9138-f99709370657
* added button repeat accelerationEric Linenberg2002-09-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2193 a1c6a512-1295-4272-9138-f99709370657
* Adjusted the key sense voltage levels a littleLinus Nielsen Feltzing2002-08-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2013 a1c6a512-1295-4272-9138-f99709370657
* Added button_get_w_tmo()Linus Nielsen Feltzing2002-08-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1576 a1c6a512-1295-4272-9138-f99709370657
* Reworked the button codeLinus Nielsen Feltzing2002-07-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1462 a1c6a512-1295-4272-9138-f99709370657
* Added key-release event maskingLinus Nielsen Feltzing2002-07-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1460 a1c6a512-1295-4272-9138-f99709370657
* Added multi-button read for recorderLinus Nielsen Feltzing2002-07-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1434 a1c6a512-1295-4272-9138-f99709370657
* Added key repeat controlLinus Nielsen Feltzing2002-07-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1433 a1c6a512-1295-4272-9138-f99709370657
* Now reports key release eventsLinus Nielsen Feltzing2002-07-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1423 a1c6a512-1295-4272-9138-f99709370657