summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/pegbox.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/apps/plugins/pegbox.c b/apps/plugins/pegbox.c
index 6a2feb1bf3..23fabf11c7 100644
--- a/apps/plugins/pegbox.c
+++ b/apps/plugins/pegbox.c
@@ -204,6 +204,23 @@ PLUGIN_HEADER
#define LVL_UP_TEXT "VOL+"
#define LVL_DOWN_TEXT "VOL-"
+#elif CONFIG_KEYPAD == GIGABEAT_S_PAD
+#define PEGBOX_SAVE BUTTON_SELECT
+#define PEGBOX_QUIT BUTTON_BACK
+#define PEGBOX_RESTART BUTTON_MENU
+#define PEGBOX_LVL_UP BUTTON_VOL_UP
+#define PEGBOX_LVL_DOWN BUTTON_VOL_DOWN
+#define PEGBOX_UP BUTTON_UP
+#define PEGBOX_DOWN BUTTON_DOWN
+#define PEGBOX_RIGHT BUTTON_RIGHT
+#define PEGBOX_LEFT BUTTON_LEFT
+
+#define SAVE_TEXT "SELECT"
+#define QUIT_TEXT "BACK"
+#define RESTART_TEXT "MENU"
+#define LVL_UP_TEXT "VOL+"
+#define LVL_DOWN_TEXT "VOL-"
+
#elif CONFIG_KEYPAD == MROBE100_PAD
#define PEGBOX_SAVE BUTTON_SELECT
#define PEGBOX_QUIT BUTTON_POWER
@@ -271,6 +288,8 @@ PLUGIN_HEADER
#define RESTART_TEXT "MENU"
#define LVL_UP_TEXT "PLUS"
#define LVL_DOWN_TEXT "MINUS"
+#else
+#error Unsupported keymap!
#endif
#if (LCD_WIDTH >= 320) && (LCD_HEIGHT >= 240)