diff options
author | Björn Stenberg <bjorn@haxx.se> | 2008-12-04 21:28:56 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2008-12-04 21:28:56 +0000 |
commit | cea285d64e34f8c2ecce676f6239b59608597019 (patch) | |
tree | aba19ec8c3b1d53ef2a8915ee5f5ed5500fd653f /apps/plugins/pacbox/pacbox.h | |
parent | 203722136c5f50d7deab432739e991faa48e470f (diff) | |
download | rockbox-cea285d64e34f8c2ecce676f6239b59608597019.tar.gz rockbox-cea285d64e34f8c2ecce676f6239b59608597019.zip |
Added keymaps for ZVM to plugins. Enabled zvm plugin building in tools/configure. FS#9605 by Adam Hogan and Robert Menes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19335 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pacbox/pacbox.h')
-rw-r--r-- | apps/plugins/pacbox/pacbox.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/pacbox/pacbox.h b/apps/plugins/pacbox/pacbox.h index f38831e608..e84f8d8318 100644 --- a/apps/plugins/pacbox/pacbox.h +++ b/apps/plugins/pacbox/pacbox.h | |||
@@ -159,6 +159,17 @@ | |||
159 | #define PACMAN_COIN (BUTTON_MENU | BUTTON_PLAY) | 159 | #define PACMAN_COIN (BUTTON_MENU | BUTTON_PLAY) |
160 | #define PACMAN_MENU BUTTON_POWER | 160 | #define PACMAN_MENU BUTTON_POWER |
161 | 161 | ||
162 | #elif CONFIG_KEYPAD == CREATIVEZVM_PAD | ||
163 | |||
164 | #define PACMAN_UP BUTTON_UP | ||
165 | #define PACMAN_DOWN BUTTON_DOWN | ||
166 | #define PACMAN_LEFT BUTTON_LEFT | ||
167 | #define PACMAN_RIGHT BUTTON_RIGHT | ||
168 | #define PACMAN_1UP BUTTON_CUSTOM | ||
169 | #define PACMAN_2UP BUTTON_SELECT | ||
170 | #define PACMAN_COIN BUTTON_PLAY | ||
171 | #define PACMAN_MENU BUTTON_MENU | ||
172 | |||
162 | #else | 173 | #else |
163 | 174 | ||
164 | #error Keymap not defined! | 175 | #error Keymap not defined! |