forked from len0rd/rockbox
More iPod 3G changes from Seven Le Mesle, and some unification of the iPod code from me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8581 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e8048cefed
commit
d16a8b8845
10 changed files with 335 additions and 26 deletions
|
|
@ -163,6 +163,17 @@ bool button_hold(void);
|
|||
#define BUTTON_SCROLL_FWD 0x0010
|
||||
#define BUTTON_SCROLL_BACK 0x0020
|
||||
|
||||
#elif CONFIG_KEYPAD == IPOD_3G_PAD
|
||||
|
||||
/* TODO: These codes should relate to the hardware */
|
||||
|
||||
#define BUTTON_MENU 0x0002
|
||||
#define BUTTON_PLAY 0x0004
|
||||
#define BUTTON_SELECT 0x0008
|
||||
#define BUTTON_SCROLL_FWD 0x0010
|
||||
#define BUTTON_SCROLL_BACK 0x0020
|
||||
#define BUTTON_HOLD 0x0100
|
||||
|
||||
#elif CONFIG_KEYPAD == IRIVER_IFP7XX_PAD
|
||||
|
||||
#define BUTTON_PLAY 0x0001
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue