diff options
author | Szymon Dziok <b0hoon@o2.pl> | 2010-02-14 21:56:53 +0000 |
---|---|---|
committer | Szymon Dziok <b0hoon@o2.pl> | 2010-02-14 21:56:53 +0000 |
commit | 7074a64d8aa7030543832ab2e59885fd16e34adb (patch) | |
tree | 0b190cc139ee08b52c036d5db68b2a3a680c9dd2 /apps/plugins/imageviewer | |
parent | 26c0e753d1e19747719dbcae8dc6e84a0a74671a (diff) |
Packard Bell Vibe 500: Finish plugin keymaps. Rockbox compiles clean now for the target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24658 a1c6a512-1295-4272-9138-f99709370657
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 |