summaryrefslogtreecommitdiffstats
path: root/apps/plugins/wormlet.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/wormlet.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/wormlet.c')
-rw-r--r--apps/plugins/wormlet.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c
index 155567958d..3d24f7fa19 100644
--- a/apps/plugins/wormlet.c
+++ b/apps/plugins/wormlet.c
@@ -290,6 +290,16 @@ CONFIG_KEYPAD == MROBE500_PAD
#define BTN_QUIT (BUTTON_REC|BUTTON_PLAY)
#define BTN_STOPRESET (BUTTON_FUNC|BUTTON_REPEAT)
+#elif CONFIG_KEYPAD == MPIO_HD300_PAD
+
+#define BTN_DIR_UP BUTTON_UP
+#define BTN_DIR_DOWN BUTTON_DOWN
+#define BTN_DIR_LEFT BUTTON_MENU
+#define BTN_DIR_RIGHT BUTTON_ENTER
+#define BTN_STARTPAUSE BUTTON_PLAY
+#define BTN_QUIT BUTTON_REC
+#define BTN_STOPRESET (BUTTON_MENU | BUTTON_REPEAT)
+
#else
#error No keymap defined!
#endif