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.tar.gz rockbox-d16a8b8845ed496e9375c5dfac6da2011c9eb362.zip |
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 158cf41a84..0ee8d67845 100644 --- a/firmware/export/button.h +++ b/firmware/export/button.h | |||
@@ -163,6 +163,17 @@ bool button_hold(void); | |||
163 | #define BUTTON_SCROLL_FWD 0x0010 | 163 | #define BUTTON_SCROLL_FWD 0x0010 |
164 | #define BUTTON_SCROLL_BACK 0x0020 | 164 | #define BUTTON_SCROLL_BACK 0x0020 |
165 | 165 | ||
166 | #elif CONFIG_KEYPAD == IPOD_3G_PAD | ||
167 | |||
168 | /* TODO: These codes should relate to the hardware */ | ||
169 | |||
170 | #define BUTTON_MENU 0x0002 | ||
171 | #define BUTTON_PLAY 0x0004 | ||
172 | #define BUTTON_SELECT 0x0008 | ||
173 | #define BUTTON_SCROLL_FWD 0x0010 | ||
174 | #define BUTTON_SCROLL_BACK 0x0020 | ||
175 | #define BUTTON_HOLD 0x0100 | ||
176 | |||
166 | #elif CONFIG_KEYPAD == IRIVER_IFP7XX_PAD | 177 | #elif CONFIG_KEYPAD == IRIVER_IFP7XX_PAD |
167 | 178 | ||
168 | #define BUTTON_PLAY 0x0001 | 179 | #define BUTTON_PLAY 0x0001 |