summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox
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/chessbox
parentfa5cd0d3bf744f75be0593a7e2c2083810f16c21 (diff)
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/chessbox')
-rw-r--r--apps/plugins/chessbox/chessbox_pgn.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/chessbox/chessbox_pgn.h b/apps/plugins/chessbox/chessbox_pgn.h
index 64cf3a5383..ee28a4fd55 100644
--- a/apps/plugins/chessbox/chessbox_pgn.h
+++ b/apps/plugins/chessbox/chessbox_pgn.h
@@ -366,6 +366,16 @@
#define CB_LEVEL BUTTON_CANCEL
#define CB_MENU BUTTON_MENU
+#elif CONFIG_KEYPAD == MPIO_HD200_PAD
+#define CB_SELECT BUTTON_SELECT
+#define CB_UP BUTTON_PREV
+#define CB_DOWN BUTTON_NEXT
+#define CB_LEFT BUTTON_VOL_DOWN
+#define CB_RIGHT BUTTON_VOL_UP
+#define CB_PLAY BUTTON_PLAY
+#define CB_LEVEL BUTTON_REC
+#define CB_MENU (BUTTON_SELECT | BUTTON_REPEAT)
+
#else
#error No keymap defined!
#endif