summaryrefslogtreecommitdiff
path: root/apps/plugins/jpeg
diff options
context:
space:
mode:
authorMark Arigo <markarigo@gmail.com>2009-01-24 22:41:55 +0000
committerMark Arigo <markarigo@gmail.com>2009-01-24 22:41:55 +0000
commit2490262eee17c3dcff0a39fb4011662dfdfc4478 (patch)
tree2c68f5903b36e52718f5be53d8504af3e0e03c0c /apps/plugins/jpeg
parent74b97fa139339b62813d94610f8d7710357beb08 (diff)
Plugins for the Philips HDD1630. The keymaps are largely untested on the device (patches welcome).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19846 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/jpeg')
-rw-r--r--apps/plugins/jpeg/jpeg.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/jpeg/jpeg.h b/apps/plugins/jpeg/jpeg.h
index a33812e2a6..4cbbc272d7 100644
--- a/apps/plugins/jpeg/jpeg.h
+++ b/apps/plugins/jpeg/jpeg.h
@@ -274,6 +274,17 @@
#define JPEG_NEXT BUTTON_SELECT
#define JPEG_PREVIOUS BUTTON_BACK
+#elif CONFIG_KEYPAD == PHILIPS_HDD1630_PAD
+#define JPEG_ZOOM_IN BUTTON_VOL_UP
+#define JPEG_ZOOM_OUT BUTTON_VOL_DOWN
+#define JPEG_UP BUTTON_UP
+#define JPEG_DOWN BUTTON_DOWN
+#define JPEG_LEFT BUTTON_LEFT
+#define JPEG_RIGHT BUTTON_RIGHT
+#define JPEG_MENU BUTTON_MENU
+#define JPEG_NEXT BUTTON_VIEW
+#define JPEG_PREVIOUS BUTTON_PLAYLIST
+
#else
#error No keymap defined!
#endif