summaryrefslogtreecommitdiff
path: root/apps/gui
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/gui
parentafbd4386ffdd402969cdeeeaa81e664860bb12da (diff)
downloadrockbox-64e5239b4c668d7fd7b5372e9d679bc6e041028b.zip
rockbox-64e5239b4c668d7fd7b5372e9d679bc6e041028b.tar.gz
rockbox-64e5239b4c668d7fd7b5372e9d679bc6e041028b.tar.bz2
rockbox-64e5239b4c668d7fd7b5372e9d679bc6e041028b.tar.xz
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/gui')
-rw-r--r--apps/gui/list.h4
-rw-r--r--apps/gui/select.h8
2 files changed, 12 insertions, 0 deletions
diff --git a/apps/gui/list.h b/apps/gui/list.h
index 94a172f..e587942 100644
--- a/apps/gui/list.h
+++ b/apps/gui/list.h
@@ -56,6 +56,10 @@
#define LIST_NEXT BUTTON_DOWN
#define LIST_PREV BUTTON_UP
+#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_NANO_PAD)
+#define LIST_NEXT BUTTON_DOWN
+#define LIST_PREV BUTTON_UP
+
#elif CONFIG_KEYPAD == GMINI100_PAD
#define LIST_NEXT BUTTON_DOWN
#define LIST_PREV BUTTON_UP
diff --git a/apps/gui/select.h b/apps/gui/select.h
index a584b53..0b67552 100644
--- a/apps/gui/select.h
+++ b/apps/gui/select.h
@@ -53,6 +53,14 @@
#define SELECT_CANCEL BUTTON_STOP
#define SELECT_CANCEL2 BUTTON_MENU
+#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_NANO_PAD)
+#define SELECT_INC BUTTON_UP
+#define SELECT_DEC BUTTON_DOWN
+#define SELECT_OK BUTTON_RIGHT
+#define SELECT_OK2 BUTTON_LEFT
+#define SELECT_CANCEL BUTTON_MENU
+#define SELECT_CANCEL2 BUTTON_OFF
+
#elif CONFIG_KEYPAD == ONDIO_PAD
#define SELECT_INC BUTTON_UP
#define SELECT_DEC BUTTON_DOWN