summaryrefslogtreecommitdiffstats
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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/pacbox/pacbox.h b/apps/plugins/pacbox/pacbox.h
index ebce692118..1854006a91 100644
--- a/apps/plugins/pacbox/pacbox.h
+++ b/apps/plugins/pacbox/pacbox.h
@@ -319,6 +319,15 @@
#define PACMAN_1UP BUTTON_POWER
#define PACMAN_COIN BUTTON_PLAY
+#elif CONFIG_KEYPAD == CREATIVE_ZEN_PAD
+#define PACMAN_UP BUTTON_UP
+#define PACMAN_DOWN BUTTON_DOWN
+#define PACMAN_LEFT BUTTON_LEFT
+#define PACMAN_RIGHT BUTTON_RIGHT
+#define PACMAN_MENU BUTTON_MENU
+#define PACMAN_1UP BUTTON_SELECT
+#define PACMAN_COIN BUTTON_PLAYPAUSE
+
#else
#error Keymap not defined!