summaryrefslogtreecommitdiff
path: root/apps/plugins/imageviewer/imageviewer.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/imageviewer/imageviewer.h')
-rw-r--r--apps/plugins/imageviewer/imageviewer.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/imageviewer/imageviewer.h b/apps/plugins/imageviewer/imageviewer.h
index a2e12911b3..b704701cda 100644
--- a/apps/plugins/imageviewer/imageviewer.h
+++ b/apps/plugins/imageviewer/imageviewer.h
@@ -316,6 +316,18 @@
#define IMGVIEW_MENU BUTTON_MENU
#define IMGVIEW_QUIT BUTTON_CANCEL
+#elif CONFIG_KEYPAD == MPIO_HD200_PAD
+#define IMGVIEW_ZOOM_IN (BUTTON_REC|BUTTON_VOL_UP)
+#define IMGVIEW_ZOOM_OUT (BUTTON_REC|BUTTON_VOL_DOWN)
+#define IMGVIEW_UP BUTTON_PREV
+#define IMGVIEW_DOWN BUTTON_NEXT
+#define IMGVIEW_LEFT BUTTON_VOL_DOWN
+#define IMGVIEW_RIGHT BUTTON_VOL_UP
+#define IMGVIEW_NEXT (BUTTON_REC | BUTTON_NEXT)
+#define IMGVIEW_PREVIOUS (BUTTON_REC | BUTTON_PREV)
+#define IMGVIEW_MENU BUTTON_SELECT
+#define IMGVIEW_QUIT (BUTTON_REC | BUTTON_PLAY)
+
#else
#error No keymap defined!
#endif