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/xobox.c | |
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/xobox.c')
-rw-r--r-- | apps/plugins/xobox.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/xobox.c b/apps/plugins/xobox.c index df6bb7d871..cd9c7f29ce 100644 --- a/apps/plugins/xobox.c +++ b/apps/plugins/xobox.c | |||
@@ -164,6 +164,15 @@ PLUGIN_HEADER | |||
164 | #define DOWN BUTTON_PLAY | 164 | #define DOWN BUTTON_PLAY |
165 | #define PAUSE BUTTON_MENU | 165 | #define PAUSE BUTTON_MENU |
166 | 166 | ||
167 | #elif CONFIG_KEYPAD == CREATIVEZVM_PAD | ||
168 | |||
169 | #define QUIT BUTTON_BACK | ||
170 | #define LEFT BUTTON_LEFT | ||
171 | #define RIGHT BUTTON_RIGHT | ||
172 | #define UP BUTTON_UP | ||
173 | #define DOWN BUTTON_DOWN | ||
174 | #define PAUSE BUTTON_SELECT | ||
175 | |||
167 | #else | 176 | #else |
168 | #error No keymap defined! | 177 | #error No keymap defined! |
169 | #endif | 178 | #endif |