diff options
author | Dave Chapman <dave@dchapman.com> | 2005-11-19 02:17:21 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2005-11-19 02:17:21 +0000 |
commit | af324590cccc8a35fdaf72d12b16390f572da319 (patch) | |
tree | ebf7a9be2f80506f3e2a539667b311f1860c9d62 /firmware/export/button.h | |
parent | d3561bcce77a888e247f19c2067330d45c9812f8 (diff) |
iPod: Correct the button definitions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7980 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/button.h')
-rw-r--r-- | firmware/export/button.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/firmware/export/button.h b/firmware/export/button.h index b6b316637b..8f70af793c 100644 --- a/firmware/export/button.h +++ b/firmware/export/button.h @@ -146,14 +146,15 @@ bool remote_button_hold(void); #elif (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_NANO_PAD) -/* TODO: Correct the IPOD definitions */ - -#define BUTTON_ON 0x0001 -#define BUTTON_OFF 0x0002 -#define BUTTON_PLAY 0x0004 -#define BUTTON_UP 0x0010 -#define BUTTON_DOWN 0x0020 -#define BUTTON_MENU 0x0100 +/* TODO: These codes should relate to the hardware */ + +#define BUTTON_MENU 0x0001 +#define BUTTON_PLAY 0x0002 +#define BUTTON_NEXT 0x0004 +#define BUTTON_PREV 0x0008 +#define BUTTON_SELECT 0x0010 +#define BUTTON_SCROLL_FWD 0x0020 +#define BUTTON_SCROLL_BACK 0x0040 #endif /* RECORDER/PLAYER/ONDIO/GMINI KEYPAD */ |