summaryrefslogtreecommitdiffstats
path: root/apps/plugins/goban
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/goban')
-rw-r--r--apps/plugins/goban/goban.h35
1 files changed, 11 insertions, 24 deletions
diff --git a/apps/plugins/goban/goban.h b/apps/plugins/goban/goban.h
index c6a10e3944..db70216464 100644
--- a/apps/plugins/goban/goban.h
+++ b/apps/plugins/goban/goban.h
@@ -443,19 +443,7 @@
#define GBN_BUTTON_CONTEXT BUTTON_PLAY | BUTTON_REPEAT
#define GBN_BUTTON_NEXT_VAR BUTTON_HOME | BUTTON_PWRALT
-#elif (CONFIG_KEYPAD == XDUOO_X3II_PAD)
-#define GBN_BUTTON_UP BUTTON_HOME
-#define GBN_BUTTON_DOWN BUTTON_OPTION
-#define GBN_BUTTON_LEFT BUTTON_PREV
-#define GBN_BUTTON_RIGHT BUTTON_NEXT
-#define GBN_BUTTON_RETREAT BUTTON_VOL_DOWN
-#define GBN_BUTTON_ADVANCE BUTTON_VOL_UP
-#define GBN_BUTTON_MENU BUTTON_POWER
-#define GBN_BUTTON_PLAY BUTTON_PLAY | BUTTON_REL
-#define GBN_BUTTON_CONTEXT BUTTON_PLAY | BUTTON_REPEAT
-#define GBN_BUTTON_NEXT_VAR BUTTON_HOME | BUTTON_POWER
-
-#elif (CONFIG_KEYPAD == XDUOO_X20_PAD)
+#elif (CONFIG_KEYPAD == XDUOO_X3II_PAD) || (CONFIG_KEYPAD == XDUOO_X20_PAD)
#define GBN_BUTTON_UP BUTTON_HOME
#define GBN_BUTTON_DOWN BUTTON_OPTION
#define GBN_BUTTON_LEFT BUTTON_PREV
@@ -479,7 +467,7 @@
#define GBN_BUTTON_CONTEXT BUTTON_PLAY | BUTTON_REPEAT
#define GBN_BUTTON_NEXT_VAR BUTTON_HOME | BUTTON_POWER
-#elif (CONFIG_KEYPAD == IHIFI_770_PAD)
+#elif (CONFIG_KEYPAD == IHIFI_770_PAD) || (CONFIG_KEYPAD == IHIFI_800_PAD)
#define GBN_BUTTON_UP BUTTON_PREV
#define GBN_BUTTON_DOWN BUTTON_NEXT
@@ -492,18 +480,17 @@
#define GBN_BUTTON_CONTEXT BUTTON_PLAY | BUTTON_REPEAT
#define GBN_BUTTON_NEXT_VAR BUTTON_POWER | BUTTON_HOME
-#elif (CONFIG_KEYPAD == IHIFI_800_PAD)
-
+#elif (CONFIG_KEYPAD == EROSQ_PAD)
#define GBN_BUTTON_UP BUTTON_PREV
#define GBN_BUTTON_DOWN BUTTON_NEXT
-#define GBN_BUTTON_LEFT BUTTON_HOME
-#define GBN_BUTTON_RIGHT BUTTON_VOL_DOWN
-#define GBN_BUTTON_RETREAT BUTTON_POWER | BUTTON_VOL_DOWN
-#define GBN_BUTTON_ADVANCE BUTTON_POWER | BUTTON_VOL_UP
-#define GBN_BUTTON_MENU BUTTON_POWER
-#define GBN_BUTTON_PLAY BUTTON_PLAY | BUTTON_REL
-#define GBN_BUTTON_CONTEXT BUTTON_PLAY | BUTTON_REPEAT
-#define GBN_BUTTON_NEXT_VAR BUTTON_POWER | BUTTON_HOME
+#define GBN_BUTTON_LEFT BUTTON_SCROLL_BACK
+#define GBN_BUTTON_RIGHT BUTTON_SCROLL_FWD
+#define GBN_BUTTON_RETREAT BUTTON_VOL_DOWN
+#define GBN_BUTTON_ADVANCE BUTTON_VOL_UP
+#define GBN_BUTTON_MENU BUTTON_MENU
+#define GBN_BUTTON_PLAY BUTTON_PLAY
+#define GBN_BUTTON_CONTEXT BUTTON_MENU | BUTTON_REPEAT
+#define GBN_BUTTON_NEXT_VAR BUTTON_BACK
#else
#error Unsupported keypad