summaryrefslogtreecommitdiff
path: root/apps/plugins/pacbox/pacbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pacbox/pacbox.h')
-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 56cba67d13..267dd67e93 100644
--- a/apps/plugins/pacbox/pacbox.h
+++ b/apps/plugins/pacbox/pacbox.h
@@ -181,6 +181,17 @@
#define PACMAN_COIN BUTTON_SELECT
#define PACMAN_MENU BUTTON_MENU
+#elif CONFIG_KEYPAD == CREATIVE_ZENXFI3_PAD
+
+#define PACMAN_UP BUTTON_UP
+#define PACMAN_DOWN BUTTON_DOWN
+#define PACMAN_LEFT BUTTON_BACK
+#define PACMAN_RIGHT BUTTON_MENU
+#define PACMAN_1UP BUTTON_PLAY
+#define PACMAN_COIN_PRE BUTTON_PLAY
+#define PACMAN_COIN (BUTTON_PLAY | BUTTON_DOWN)
+#define PACMAN_MENU BUTTON_POWER
+
#elif CONFIG_KEYPAD == PHILIPS_HDD1630_PAD
#define PACMAN_UP BUTTON_UP