summaryrefslogtreecommitdiff
path: root/apps/plugins/imageviewer/imageviewer_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/imageviewer/imageviewer_button.h')
-rw-r--r--apps/plugins/imageviewer/imageviewer_button.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/plugins/imageviewer/imageviewer_button.h b/apps/plugins/imageviewer/imageviewer_button.h
index 221ea3380e..cfb9a2969b 100644
--- a/apps/plugins/imageviewer/imageviewer_button.h
+++ b/apps/plugins/imageviewer/imageviewer_button.h
@@ -536,6 +536,20 @@
536#define IMGVIEW_MENU BUTTON_MENU 536#define IMGVIEW_MENU BUTTON_MENU
537#define IMGVIEW_SLIDE_SHOW BUTTON_BACK 537#define IMGVIEW_SLIDE_SHOW BUTTON_BACK
538 538
539#elif CONFIG_KEYPAD == FIIO_M3K_PAD
540#define IMGVIEW_ZOOM_IN BUTTON_VOL_UP
541#define IMGVIEW_ZOOM_OUT BUTTON_VOL_DOWN
542#define IMGVIEW_UP BUTTON_UP
543#define IMGVIEW_DOWN BUTTON_DOWN
544#define IMGVIEW_LEFT BUTTON_LEFT
545#define IMGVIEW_RIGHT BUTTON_RIGHT
546#define IMGVIEW_NEXT BUTTON_BACK
547#define IMGVIEW_NEXT_REPEAT (BUTTON_BACK|BUTTON_REPEAT)
548#define IMGVIEW_PREVIOUS BUTTON_MENU
549#define IMGVIEW_PREVIOUS_REPEAT (BUTTON_MENU|BUTTON_REPEAT)
550#define IMGVIEW_MENU BUTTON_POWER
551#define IMGVIEW_SLIDE_SHOW BUTTON_PLAY
552
539#else 553#else
540#error No keymap defined! 554#error No keymap defined!
541#endif 555#endif