summaryrefslogtreecommitdiff
path: root/firmware/export/button.h (follow)
Commit message (Collapse)AuthorAge
* Switched PLAY and REC for proper X5 operation.Daniel Stenberg2006-03-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9267 a1c6a512-1295-4272-9138-f99709370657
* Patch #4913 by David Rothenberger with some changes by me: add only ↵Hristo Kovachev2006-03-25
| | | | | | backlight on first keypress to the lcd remotes, too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9253 a1c6a512-1295-4272-9138-f99709370657
* New option: First keypress enables backlight only. Patch #2920 by Nicolas ↵Björn Stenberg2006-03-24
| | | | | | Pennequin. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9228 a1c6a512-1295-4272-9138-f99709370657
* Removed an unneeded BUTTON_HOLD define for iPod 3GHristo Kovachev2006-03-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9151 a1c6a512-1295-4272-9138-f99709370657
* button.h cleanup, with the future "button action" thing in mind:Hristo Kovachev2006-03-21
| | | | | | | | | | | | | | 1) Main unit's button defines are from the LSB to the MSB (currently bits 0-9, 0x00000200), remote ones are from the 20th bit (0x00100000) downards to 10th(0x00000400); 2) Removed the BUTTON_REMOTE modifier, replaced with a bitmask of all of the remote buttons (where applicable, otherwise with 0), added a complementary BUTTON_MAIN bitmask; 3) Moved button modifiers: - BUTTON_REPEAT: to bit 26 (0x04000000) - BUTTON_REL: to bit 25 (0x02000000) There are at least 4 bits free on all targets now: 21-24. If we really need more free bits, it's possible to SHR remote buttons 1 bit more (freeing bit 20 too), and to change the SYS_EVENT bit with a bitmask (+2 bits). 4) Bumped up the min. plugin ver. (and sorted the plugin api struct), because the binary plugins with key input won't understand the new values git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9149 a1c6a512-1295-4272-9138-f99709370657
* Improve button driver performance on ipod a bit by moving around queue ↵Brandon Low2006-03-18
| | | | | | checks and properly detecting end-of-scroll. * Provide to an application which reads the button queue directly the data from the wheel (position and delta) for custom wheel driver (only sent for deltas large enough to cause a scroll event for now git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9099 a1c6a512-1295-4272-9138-f99709370657
* iAudio X5: Remote control buttonsLinus Nielsen Feltzing2006-03-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8968 a1c6a512-1295-4272-9138-f99709370657
* More iPod 3G work from Seven Le MesleDave Chapman2006-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8835 a1c6a512-1295-4272-9138-f99709370657
* first gigabeat commitMarcoen Hirschberg2006-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
* Button driver for iAudio X5Linus Nielsen Feltzing2006-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8828 a1c6a512-1295-4272-9138-f99709370657
* Remove some unused/deprecated definesHristo Kovachev2006-02-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8777 a1c6a512-1295-4272-9138-f99709370657
* iPods - implement button_hold() functionDave Chapman2006-02-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8727 a1c6a512-1295-4272-9138-f99709370657
* More iPod 3G changes from Seven Le Mesle, and some unification of the iPod ↵Dave Chapman2006-02-05
| | | | | | code from me git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8581 a1c6a512-1295-4272-9138-f99709370657
* iAudio X5: various fixes to make the bootloader compileLinus Nielsen Feltzing2006-02-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8560 a1c6a512-1295-4272-9138-f99709370657
* Revert accidental changeChristi Scarborough2006-01-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8506 a1c6a512-1295-4272-9138-f99709370657
* Small iPod colour BMP fix by linuxstdChristi Scarborough2006-01-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8504 a1c6a512-1295-4272-9138-f99709370657
* Matt v.d. Westhuizen's iAudio X5 keypad adjustmentsDaniel Stenberg2006-01-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657
* Work-in-progress iriver iFP-7xx port by Tomasz MalesinskiDave Chapman2006-01-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
* Remove IPOD_NANO_PAD definition - the Nano's keypad has turned out to be ↵Dave Chapman2005-12-19
| | | | | | identical to the other 4G models git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8262 a1c6a512-1295-4272-9138-f99709370657
* Adapted and commited Markus Kaufhold's remote hold icon on statusbar patch ↵Kevin Ferrare2005-11-22
| | | | | | for iriver ; generic logo handler (now it's possible to have a different USB logo on main screen and on remote), made the quickscreen behave as it was before git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8044 a1c6a512-1295-4272-9138-f99709370657
* Win32 simulator now supports iPod Color. Fixed screendump() to correctly ↵Jens Arnold2005-11-22
| | | | | | work for iPod simulators on big endian machines. Removed duplicate button definitions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8035 a1c6a512-1295-4272-9138-f99709370657
* iPod: Correct the button definitions.Dave Chapman2005-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7980 a1c6a512-1295-4272-9138-f99709370657
* iPod: Code cleanup - the bootloader now compiles with zero warningsDave Chapman2005-11-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7812 a1c6a512-1295-4272-9138-f99709370657
* Initial commit of work-in-progress iPod portDave Chapman2005-11-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7781 a1c6a512-1295-4272-9138-f99709370657
* Hristo Kovachev's keypad fixes for the H300 buildDaniel Stenberg2005-06-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6912 a1c6a512-1295-4272-9138-f99709370657
* Quick menu for iRiver: A long press on the PLAY key in the browser or the ↵Christi Scarborough2005-06-26
| | | | | | WPS will take you into the quick menu screen where certain common settings can be adjusted. Works just the same as F2 menu on Archos. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6880 a1c6a512-1295-4272-9138-f99709370657
* BUTTON_RC_VOL relabeled as BUTTON_RC_MODE for consistency with main unit. ↵Christi Scarborough2005-06-24
| | | | | | RC keymappings changed to be consistent with main unit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6853 a1c6a512-1295-4272-9138-f99709370657
* Initial setup for the H300 keypadDaniel Stenberg2005-06-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6754 a1c6a512-1295-4272-9138-f99709370657
* undo >.>;Michiel Van Der Kolk2005-05-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6438 a1c6a512-1295-4272-9138-f99709370657
* Argh! this is driving meh crazy.Michiel Van Der Kolk2005-05-08
| | | | | | | On iriver, BUTTON_PLAY = BUTTON_ON. yushyush. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6437 a1c6a512-1295-4272-9138-f99709370657
* iRiver: added support for hold-button on main unit and remote controlChristian Gmeiner2005-04-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6320 a1c6a512-1295-4272-9138-f99709370657
* iRiver: Support for remote control buttonsLinus Nielsen Feltzing2005-02-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5909 a1c6a512-1295-4272-9138-f99709370657
* Correct value for BUTTON_RC_ONLinus Nielsen Feltzing2005-02-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5891 a1c6a512-1295-4272-9138-f99709370657
* Added BUTTON_RC_ON for iRiverLinus Nielsen Feltzing2005-02-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5885 a1c6a512-1295-4272-9138-f99709370657
* long policyJean-Philippe Bernardy2005-02-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5844 a1c6a512-1295-4272-9138-f99709370657
* (1) Remapped BUTTON_CANCEL->BUTTON_OFF for gmini better representing its ↵Jens Arnold2005-01-23
| | | | | | 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
* Jean-Philippe Bernardy: gmini keypad addedDaniel Stenberg2005-01-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5542 a1c6a512-1295-4272-9138-f99709370657
* Added iRiver button codesLinus Nielsen Feltzing2004-11-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5428 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
* 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
* no double negation, define present features, not absentJörg Hohensohn2004-09-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5058 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
* 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
* 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
* Without having a clue about the actual platform, I hereby announce that theDaniel Stenberg2003-12-15
| | | | | | | | | | | | Neo players' "select" button works as the "ON" button does on the Archos players. I thus #define BUTTON_ON to the select one, to make the code all over automaticly adjust to this fact. If the select key turns out to be a bad choice, it should be easy to change here to a more suitable key. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4157 a1c6a512-1295-4272-9138-f99709370657
* Additional Neo supportDaniel Stenberg2003-12-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4132 a1c6a512-1295-4272-9138-f99709370657
* Changed remote control button events to separate codes. Now the remote ↵Björn Stenberg2003-04-23
| | | | | | control works while keys are locked. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3586 a1c6a512-1295-4272-9138-f99709370657
* Move publicly (from apps) accessed files from drivers/ to export/.Daniel Stenberg2003-02-07
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3219 a1c6a512-1295-4272-9138-f99709370657