summaryrefslogtreecommitdiff
path: root/apps/plugins/goban/goban.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/goban/goban.h')
-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