summaryrefslogtreecommitdiffstats
path: root/apps/tree.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/tree.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/tree.h')
-rw-r--r--apps/tree.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/tree.h b/apps/tree.h
index 29532b5304..43242d6633 100644
--- a/apps/tree.h
+++ b/apps/tree.h
@@ -167,6 +167,20 @@
#define TREE_WPS_PRE BUTTON_POWER
#define TREE_CONTEXT (BUTTON_SELECT | BUTTON_REPEAT)
+#elif CONFIG_KEYPAD == IRIVER_H10_PAD
+
+#define TREE_EXIT BUTTON_LEFT
+#define TREE_ABORT BUTTON_LEFT
+#define TREE_ENTER BUTTON_RIGHT
+#define TREE_RUN (BUTTON_PLAY | BUTTON_REL)
+#define TREE_RUN_PRE BUTTON_PLAY
+#define TREE_MENU (BUTTON_REW | BUTTON_REL)
+#define TREE_MENU_PRE BUTTON_REW
+#define TREE_WPS (BUTTON_FF | BUTTON_REL)
+#define TREE_WPS_PRE BUTTON_FF
+#define TREE_CONTEXT (BUTTON_PLAY | BUTTON_SCROLL_UP)
+#define TREE_QUICK (BUTTON_PLAY | BUTTON_SCROLL_DOWN)
+
#endif
struct entry {