summaryrefslogtreecommitdiff
path: root/apps/plugins/pegbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pegbox.c')
-rw-r--r--apps/plugins/pegbox.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/plugins/pegbox.c b/apps/plugins/pegbox.c
index 4692a1a766..dcc6176d2b 100644
--- a/apps/plugins/pegbox.c
+++ b/apps/plugins/pegbox.c
@@ -599,6 +599,21 @@ CONFIG_KEYPAD == MROBE500_PAD
#define LVL_DOWN_TEXT ""
#define SELECT_TEXT "PLAY"
+#elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD
+#define PEGBOX_RIGHT BUTTON_RIGHT
+#define PEGBOX_LEFT BUTTON_LEFT
+#define PEGBOX_UP BUTTON_UP
+#define PEGBOX_DOWN BUTTON_DOWN
+#define PEGBOX_QUIT BUTTON_POWER
+#define PEGBOX_SELECT BUTTON_SELECT
+#define PEGBOX_RESTART BUTTON_VOLUP
+
+#define QUIT_TEXT "POWER"
+#define RESTART_TEXT "VOLUP"
+#define LVL_UP_TEXT ""
+#define LVL_DOWN_TEXT ""
+#define SELECT_TEXT "SELECT"
+
#elif CONFIG_KEYPAD == CREATIVE_ZEN_PAD
#define PEGBOX_RIGHT BUTTON_RIGHT
#define PEGBOX_LEFT BUTTON_LEFT