diff options
| author | Dave Chapman <dave@dchapman.com> | 2006-02-05 16:52:22 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2006-02-05 16:52:22 +0000 |
| commit | d16a8b8845ed496e9375c5dfac6da2011c9eb362 (patch) | |
| tree | 9adc8e92f61a58bdb02e9c59af8dfd7ddd3eff61 /firmware/export/button.h | |
| parent | e8048cefed2715dcecb82ae49549ed619cf3104b (diff) | |
| download | rockbox-d16a8b8845ed496e9375c5dfac6da2011c9eb362.zip rockbox-d16a8b8845ed496e9375c5dfac6da2011c9eb362.tar.gz rockbox-d16a8b8845ed496e9375c5dfac6da2011c9eb362.tar.bz2 rockbox-d16a8b8845ed496e9375c5dfac6da2011c9eb362.tar.xz | |
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
Diffstat (limited to 'firmware/export/button.h')
| -rw-r--r-- | firmware/export/button.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/firmware/export/button.h b/firmware/export/button.h index 158cf41..0ee8d67 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 |