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/viewer.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/viewer.c')
-rw-r--r-- | apps/plugins/viewer.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index b75059ffc0..76c1d93c1c 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c | |||
@@ -280,6 +280,16 @@ PLUGIN_HEADER | |||
280 | #define VIEWER_AUTOSCROLL BUTTON_PLAY | 280 | #define VIEWER_AUTOSCROLL BUTTON_PLAY |
281 | #define VIEWER_RC_QUIT BUTTON_STOP | 281 | #define VIEWER_RC_QUIT BUTTON_STOP |
282 | 282 | ||
283 | /* Creative Zen Vision:M keys */ | ||
284 | #elif CONFIG_KEYPAD == CREATIVEZVM_PAD | ||
285 | #define VIEWER_QUIT BUTTON_BACK | ||
286 | #define VIEWER_PAGE_UP BUTTON_UP | ||
287 | #define VIEWER_PAGE_DOWN BUTTON_DOWN | ||
288 | #define VIEWER_SCREEN_LEFT BUTTON_LEFT | ||
289 | #define VIEWER_SCREEN_RIGHT BUTTON_RIGHT | ||
290 | #define VIEWER_MENU BUTTON_MENU | ||
291 | #define VIEWER_AUTOSCROLL BUTTON_SELECT | ||
292 | |||
283 | #else | 293 | #else |
284 | #error No keymap defined! | 294 | #error No keymap defined! |
285 | #endif | 295 | #endif |