summaryrefslogtreecommitdiff
path: root/apps/plugins/star.c
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/plugins/star.c
parent364e892050c5d03895d27ad290180f7a82d0ecbf (diff)
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/plugins/star.c')
-rw-r--r--apps/plugins/star.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/star.c b/apps/plugins/star.c
index c6d533f96f..0848b3398e 100644
--- a/apps/plugins/star.c
+++ b/apps/plugins/star.c
@@ -136,6 +136,18 @@ PLUGIN_HEADER
#define STAR_LEVEL_REPEAT (BUTTON_POWER | BUTTON_RIGHT)
#define STAR_MENU_RUN BUTTON_RIGHT
+#elif (CONFIG_KEYPAD == IRIVER_H10_PAD)
+
+#define STAR_QUIT BUTTON_POWER
+#define STAR_UP BUTTON_SCROLL_UP
+#define STAR_DOWN BUTTON_SCROLL_DOWN
+#define STAR_TOGGLE_CONTROL_PRE BUTTON_REW
+#define STAR_TOGGLE_CONTROL (BUTTON_REW | BUTTON_REL)
+#define STAR_LEVEL_UP (BUTTON_PLAY | BUTTON_SCROLL_UP)
+#define STAR_LEVEL_DOWN (BUTTON_PLAY | BUTTON_SCROLL_DOWN)
+#define STAR_LEVEL_REPEAT (BUTTON_PLAY | BUTTON_RIGHT)
+#define STAR_MENU_RUN BUTTON_FF
+
#endif
/* function returns because of USB? */