summaryrefslogtreecommitdiff
path: root/apps/plugins/goban
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/goban')
-rw-r--r--apps/plugins/goban/goban.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/goban/goban.h b/apps/plugins/goban/goban.h
index d014eb2..1c992c7 100644
--- a/apps/plugins/goban/goban.h
+++ b/apps/plugins/goban/goban.h
@@ -331,6 +331,16 @@
#define GBN_BUTTON_PLAY BUTTON_FUNC | BUTTON_REL
#define GBN_BUTTON_MENU BUTTON_FUNC | BUTTON_REPEAT
+#elif (CONFIG_KEYPAD == MPIO_HD300_PAD)
+#define GBN_BUTTON_UP BUTTON_UP
+#define GBN_BUTTON_DOWN BUTTON_DOWN
+#define GBN_BUTTON_LEFT BUTTON_REW
+#define GBN_BUTTON_RIGHT BUTTON_FF
+#define GBN_BUTTON_RETREAT BUTTON_REC
+#define GBN_BUTTON_ADVANCE BUTTON_PLAY
+#define GBN_BUTTON_PLAY BUTTON_ENTER
+#define GBN_BUTTON_MENU BUTTON_MENU
+
#else
#error Unsupported keypad
#endif