summaryrefslogtreecommitdiffstats
path: root/apps/menu.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-01-18 11:09:06 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-01-18 11:09:06 +0000
commitcedba8830fd015e9a61b7a772927fefe565f7b41 (patch)
treee33e1b1ff14904098534a7e78d71ba672fcb78e0 /apps/menu.h
parent205be712fe6ad03f194216bc0f936f1b5917eafd (diff)
downloadrockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.tar.gz
rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.tar.bz2
rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.zip
Matt v.d. Westhuizen's iAudio X5 keypad adjustments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.h')
-rw-r--r--apps/menu.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/menu.h b/apps/menu.h
index 143933d833..cf942ea382 100644
--- a/apps/menu.h
+++ b/apps/menu.h
@@ -86,6 +86,14 @@
#define MENU_EXIT_MENU BUTTON_PLAY
#define MENU_ENTER BUTTON_RIGHT
+#elif CONFIG_KEYPAD == IAUDIO_X5_PAD
+
+#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 {