From d16a8b8845ed496e9375c5dfac6da2011c9eb362 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sun, 5 Feb 2006 16:52:22 +0000 Subject: 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 --- firmware/export/button.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'firmware/export/button.h') diff --git a/firmware/export/button.h b/firmware/export/button.h index 158cf41a84..0ee8d67845 100644 --- a/firmware/export/button.h +++ b/firmware/export/button.h @@ -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 -- cgit v1.2.3