summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox
diff options
context:
space:
mode:
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 df90151..eb58a44 100644
--- a/apps/plugins/chessbox/chessbox_pgn.h
+++ b/apps/plugins/chessbox/chessbox_pgn.h
@@ -386,6 +386,16 @@
#define CB_LEVEL BUTTON_REC
#define CB_MENU (BUTTON_FUNC | BUTTON_REPEAT)
+#elif CONFIG_KEYPAD == MPIO_HD300_PAD
+#define CB_SELECT BUTTON_ENTER
+#define CB_UP BUTTON_UP
+#define CB_DOWN BUTTON_DOWN
+#define CB_LEFT BUTTON_REW
+#define CB_RIGHT BUTTON_FF
+#define CB_PLAY BUTTON_PLAY
+#define CB_LEVEL BUTTON_REC
+#define CB_MENU (BUTTON_MENU | BUTTON_REPEAT)
+
#else
#error No keymap defined!
#endif