diff options
Diffstat (limited to 'apps/plugins/imageviewer')
-rw-r--r-- | apps/plugins/imageviewer/imageviewer.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/imageviewer/imageviewer.h b/apps/plugins/imageviewer/imageviewer.h index e1009ec32f..694056ed8a 100644 --- a/apps/plugins/imageviewer/imageviewer.h +++ b/apps/plugins/imageviewer/imageviewer.h @@ -296,6 +296,17 @@ #define IMGVIEW_PREVIOUS BUTTON_REW #define IMGVIEW_MENU BUTTON_PLAY +#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD +#define IMGVIEW_ZOOM_IN (BUTTON_REC | BUTTON_UP) +#define IMGVIEW_ZOOM_OUT (BUTTON_REC | BUTTON_DOWN) +#define IMGVIEW_UP BUTTON_UP +#define IMGVIEW_DOWN BUTTON_DOWN +#define IMGVIEW_LEFT BUTTON_PREV +#define IMGVIEW_RIGHT BUTTON_NEXT +#define IMGVIEW_NEXT (BUTTON_REC | BUTTON_NEXT) +#define IMGVIEW_PREVIOUS (BUTTON_REC | BUTTON_PREV) +#define IMGVIEW_MENU BUTTON_MENU + #else #error No keymap defined! #endif |