summaryrefslogtreecommitdiffstats
path: root/apps/menu.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-11-12 16:07:17 +0000
committerDave Chapman <dave@dchapman.com>2005-11-12 16:07:17 +0000
commit64e5239b4c668d7fd7b5372e9d679bc6e041028b (patch)
tree58bd95e135d132d0d5d6b80be0d7bef2e7f9381b /apps/menu.h
parentafbd4386ffdd402969cdeeeaa81e664860bb12da (diff)
downloadrockbox-64e5239b4c668d7fd7b5372e9d679bc6e041028b.tar.gz
rockbox-64e5239b4c668d7fd7b5372e9d679bc6e041028b.tar.bz2
rockbox-64e5239b4c668d7fd7b5372e9d679bc6e041028b.zip
iPod: Add placeholder button definitions - these need reviewing when the button usage for the iPod is decided
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7830 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.h')
-rw-r--r--apps/menu.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/menu.h b/apps/menu.h
index c163e35ccc..98cbf9417c 100644
--- a/apps/menu.h
+++ b/apps/menu.h
@@ -68,6 +68,16 @@
#define MENU_ENTER BUTTON_RIGHT
#define MENU_ENTER2 BUTTON_PLAY
+#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_NANO_PAD)
+
+/* TODO: Check menu button assignments */
+
+#define MENU_NEXT BUTTON_DOWN
+#define MENU_PREV BUTTON_UP
+#define MENU_EXIT BUTTON_LEFT
+#define MENU_EXIT_MENU BUTTON_MENU
+#define MENU_ENTER BUTTON_RIGHT
+
#endif
struct menu_item {