summaryrefslogtreecommitdiffstats
path: root/apps/menu.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-08-03 20:17:25 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-08-03 20:17:25 +0000
commit1e88be518adafe146704a506aad7f895fffbb240 (patch)
tree59de8c14bcec054d32b82890f73391301ad152aa /apps/menu.h
parent364e892050c5d03895d27ad290180f7a82d0ecbf (diff)
downloadrockbox-1e88be518adafe146704a506aad7f895fffbb240.tar.gz
rockbox-1e88be518adafe146704a506aad7f895fffbb240.tar.bz2
rockbox-1e88be518adafe146704a506aad7f895fffbb240.zip
Barry Wardell's keymappings for H10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/menu.h')
-rw-r--r--apps/menu.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/menu.h b/apps/menu.h
index f8b425ee01..c43889b217 100644
--- a/apps/menu.h
+++ b/apps/menu.h
@@ -106,6 +106,15 @@
#define MENU_NEXT BUTTON_DOWN
#define MENU_PREV BUTTON_UP
+#elif CONFIG_KEYPAD == IRIVER_H10_PAD
+
+#define MENU_NEXT BUTTON_SCROLL_DOWN
+#define MENU_PREV BUTTON_SCROLL_UP
+#define MENU_EXIT BUTTON_LEFT
+#define MENU_EXIT_MENU BUTTON_REW
+#define MENU_ENTER BUTTON_RIGHT
+#define MENU_ENTER2 BUTTON_FF
+
#endif
struct menu_item {