summaryrefslogtreecommitdiff
path: root/apps/plugins/reversi/reversi-gui.h
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/reversi/reversi-gui.h
parentd2ebc534eaba1bcda0ba50250c8c3f6cadfd4ed9 (diff)
HD300 - plugins keymaps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28712 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/reversi/reversi-gui.h')
-rw-r--r--apps/plugins/reversi/reversi-gui.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/reversi/reversi-gui.h b/apps/plugins/reversi/reversi-gui.h
index ee20c6dbc0..d5ba08fe56 100644
--- a/apps/plugins/reversi/reversi-gui.h
+++ b/apps/plugins/reversi/reversi-gui.h
@@ -235,6 +235,14 @@
#define REVERSI_BUTTON_MENU BUTTON_FUNC
#define REVERSI_BUTTON_MENU_LONGPRESS
+#elif CONFIG_KEYPAD == MPIO_HD300_PAD
+#define REVERSI_BUTTON_UP BUTTON_UP
+#define REVERSI_BUTTON_DOWN BUTTON_DOWN
+#define REVERSI_BUTTON_LEFT BUTTON_REW
+#define REVERSI_BUTTON_RIGHT BUTTON_FF
+#define REVERSI_BUTTON_MAKE_MOVE BUTTON_ENTER
+#define REVERSI_BUTTON_MENU BUTTON_MENU
+
#else
#error No keymap defined!
#endif