summaryrefslogtreecommitdiff
path: root/apps/plugins/pacbox
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pacbox')
-rw-r--r--apps/plugins/pacbox/pacbox.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/pacbox/pacbox.h b/apps/plugins/pacbox/pacbox.h
index 8350e4e..55ae5b8 100644
--- a/apps/plugins/pacbox/pacbox.h
+++ b/apps/plugins/pacbox/pacbox.h
@@ -76,6 +76,17 @@
#define PACMAN_COIN BUTTON_A
#define PACMAN_MENU BUTTON_MENU
+#elif CONFIG_KEYPAD == GIGABEAT_S_PAD
+
+#define PACMAN_UP BUTTON_UP
+#define PACMAN_DOWN BUTTON_DOWN
+#define PACMAN_LEFT BUTTON_LEFT
+#define PACMAN_RIGHT BUTTON_RIGHT
+#define PACMAN_1UP BUTTON_SELECT
+#define PACMAN_2UP BUTTON_POWER
+#define PACMAN_COIN BUTTON_PLAY
+#define PACMAN_MENU BUTTON_MENU
+
#elif CONFIG_KEYPAD == IAUDIO_X5M5_PAD
#define PACMAN_UP BUTTON_RIGHT