summaryrefslogtreecommitdiffstats
path: root/apps/plugins/blackjack.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/blackjack.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/blackjack.c')
-rw-r--r--apps/plugins/blackjack.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/plugins/blackjack.c b/apps/plugins/blackjack.c
index f7cda90eb4..3a43a12bb2 100644
--- a/apps/plugins/blackjack.c
+++ b/apps/plugins/blackjack.c
@@ -435,6 +435,21 @@ enum {
#define BJACK_RIGHT BUTTON_VOL_UP
#define BJACK_LEFT BUTTON_VOL_DOWN
+#elif CONFIG_KEYPAD == MPIO_HD300_PAD
+#define BJACK_SELECT_NAME "FUNC"
+#define BJACK_STAY_NAME "VOL +"
+#define BJACK_RESUME_NAME "PLAY"
+#define BJACK_QUIT_NAME "REC+PLAY"
+#define BJACK_DOUBLE_NAME "VOL -"
+#define BJACK_SELECT BUTTON_ENTER
+#define BJACK_QUIT (BUTTON_REC|BUTTON_REPEAT)
+#define BJACK_STAY BUTTON_PLAY
+#define BJACK_DOUBLEDOWN BUTTON_REC
+#define BJACK_UP BUTTON_UP
+#define BJACK_DOWN BUTTON_DOWN
+#define BJACK_RIGHT BUTTON_FF
+#define BJACK_LEFT BUTTON_REW
+
#else
#error No keymap defined!
#endif