summaryrefslogtreecommitdiff
path: root/apps/plugins/goban
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-10-02 17:35:10 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-10-02 17:35:10 +0000
commitf883a61d626ed87cd612eff6a38c6b4fb2e780b0 (patch)
tree4785c7f55c7877d60dfe5aed17eb555bdf399fdf /apps/plugins/goban
parent39e1a3f92355443a343151e2eb541473e5ed6943 (diff)
fuze+: add goban keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30694 a1c6a512-1295-4272-9138-f99709370657
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 1c992c775f..1931311d2d 100644
--- a/apps/plugins/goban/goban.h
+++ b/apps/plugins/goban/goban.h
@@ -341,6 +341,16 @@
#define GBN_BUTTON_PLAY BUTTON_ENTER
#define GBN_BUTTON_MENU BUTTON_MENU
+#elif (CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD)
+#define GBN_BUTTON_UP BUTTON_UP
+#define GBN_BUTTON_DOWN BUTTON_DOWN
+#define GBN_BUTTON_LEFT BUTTON_LEFT
+#define GBN_BUTTON_RIGHT BUTTON_RIGHT
+#define GBN_BUTTON_RETREAT BUTTON_BACK
+#define GBN_BUTTON_ADVANCE BUTTON_PLAYPAUSE
+#define GBN_BUTTON_PLAY BUTTON_SELECT
+#define GBN_BUTTON_MENU BUTTON_POWER
+
#else
#error Unsupported keypad
#endif