summaryrefslogtreecommitdiff
path: root/apps/plugins/jpeg/jpeg.h
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2008-12-04 21:28:56 +0000
committerBjörn Stenberg <bjorn@haxx.se>2008-12-04 21:28:56 +0000
commitcea285d64e34f8c2ecce676f6239b59608597019 (patch)
treeaba19ec8c3b1d53ef2a8915ee5f5ed5500fd653f /apps/plugins/jpeg/jpeg.h
parent203722136c5f50d7deab432739e991faa48e470f (diff)
downloadrockbox-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/jpeg/jpeg.h')
-rw-r--r--apps/plugins/jpeg/jpeg.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/jpeg/jpeg.h b/apps/plugins/jpeg/jpeg.h
index 154e2dd68a..db07b12b1f 100644
--- a/apps/plugins/jpeg/jpeg.h
+++ b/apps/plugins/jpeg/jpeg.h
@@ -233,6 +233,18 @@
233#define JPEG_NEXT (BUTTON_PLAY|BUTTON_VOLUP) 233#define JPEG_NEXT (BUTTON_PLAY|BUTTON_VOLUP)
234#define JPEG_PREVIOUS (BUTTON_PLAY|BUTTON_VOLDOWN) 234#define JPEG_PREVIOUS (BUTTON_PLAY|BUTTON_VOLDOWN)
235 235
236#elif CONFIG_KEYPAD == CREATIVEZVM_PAD
237
238#define JPEG_ZOOM_IN BUTTON_PLAY
239#define JPEG_ZOOM_OUT BUTTON_SELECT
240#define JPEG_UP BUTTON_UP
241#define JPEG_DOWN BUTTON_DOWN
242#define JPEG_LEFT BUTTON_LEFT
243#define JPEG_RIGHT BUTTON_RIGHT
244#define JPEG_MENU BUTTON_MENU
245#define JPEG_NEXT BUTTON_CUSTOM
246#define JPEG_PREVIOUS BUTTON_BACK
247
236#else 248#else
237#error No keymap defined! 249#error No keymap defined!
238#endif 250#endif