summaryrefslogtreecommitdiffstats
path: root/apps/plugins/blackjack.c
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-04-26 21:40:00 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-04-26 21:40:00 +0000
commitb09d3aec392538ca0934644ff6357c41aaa4c323 (patch)
tree0603cf4ef59e84ee4e0c172e3b418d8dccac664c /apps/plugins/blackjack.c
parentfa5cd0d3bf744f75be0593a7e2c2083810f16c21 (diff)
downloadrockbox-b09d3aec392538ca0934644ff6357c41aaa4c323.tar.gz
rockbox-b09d3aec392538ca0934644ff6357c41aaa4c323.tar.bz2
rockbox-b09d3aec392538ca0934644ff6357c41aaa4c323.zip
Add MPIO HD200 port - changed files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25724 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 a8f92b9f5a..1af26f290f 100644
--- a/apps/plugins/blackjack.c
+++ b/apps/plugins/blackjack.c
@@ -404,6 +404,21 @@ enum {
#define BJACK_RIGHT BUTTON_NEXT
#define BJACK_LEFT BUTTON_PREV
+#elif CONFIG_KEYPAD == MPIO_HD200_PAD
+#define BJACK_SELECT_NAME "SELECT"
+#define BJACK_STAY_NAME "RIGHT"
+#define BJACK_RESUME_NAME "PLAY"
+#define BJACK_QUIT_NAME "REC+PLAY"
+#define BJACK_DOUBLE_NAME "LEFT"
+#define BJACK_SELECT BUTTON_SELECT
+#define BJACK_QUIT (BUTTON_REC|BUTTON_PLAY)
+#define BJACK_STAY BUTTON_VOL_UP
+#define BJACK_DOUBLEDOWN BUTTON_VOL_DOWN
+#define BJACK_UP BUTTON_PREV
+#define BJACK_DOWN BUTTON_NEXT
+#define BJACK_RIGHT BUTTON_VOL_UP
+#define BJACK_LEFT BUTTON_VOL_DOWN
+
#else
#error No keymap defined!
#endif