summaryrefslogtreecommitdiffstats
path: root/apps/plugins/star.c
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-11-30 10:52:14 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-11-30 10:52:14 +0000
commitdd61702fb0a45167aeba3f3f183b794e47c30f6f (patch)
treebe2389872bfc1ca4106b4c717409fe17d582a6fe /apps/plugins/star.c
parentd2ebc534eaba1bcda0ba50250c8c3f6cadfd4ed9 (diff)
downloadrockbox-dd61702fb0a45167aeba3f3f183b794e47c30f6f.tar.gz
rockbox-dd61702fb0a45167aeba3f3f183b794e47c30f6f.tar.bz2
rockbox-dd61702fb0a45167aeba3f3f183b794e47c30f6f.zip
HD300 - plugins keymaps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28712 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/star.c')
-rw-r--r--apps/plugins/star.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/plugins/star.c b/apps/plugins/star.c
index 9f4e8f50a0..0268ceb947 100644
--- a/apps/plugins/star.c
+++ b/apps/plugins/star.c
@@ -428,6 +428,24 @@
#define STAR_LEVEL_DOWN_NAME "REC"
#define STAR_LEVEL_REPEAT_NAME "FUNC LONG"
+#elif CONFIG_KEYPAD == MPIO_HD300_PAD
+
+#define STAR_QUIT (BUTTON_REC | BUTTON_REPEAT)
+#define STAR_LEFT BUTTON_REW
+#define STAR_RIGHT BUTTON_FF
+#define STAR_UP BUTTON_UP
+#define STAR_DOWN BUTTON_DOWN
+#define STAR_TOGGLE_CONTROL_PRE BUTTON_MENU
+#define STAR_TOGGLE_CONTROL (BUTTON_MENU | BUTTON_REL)
+#define STAR_LEVEL_UP BUTTON_PLAY
+#define STAR_LEVEL_DOWN BUTTON_REC
+#define STAR_LEVEL_REPEAT (BUTTON_MENU | BUTTON_REPEAT)
+#define STAR_TOGGLE_CONTROL_NAME "MENU"
+#define STAR_QUIT_NAME "REC LONG"
+#define STAR_LEVEL_UP_NAME "PLAY"
+#define STAR_LEVEL_DOWN_NAME "REC"
+#define STAR_LEVEL_REPEAT_NAME "MENU LONG"
+
#else
#error No keymap defined!
#endif