summaryrefslogtreecommitdiffstats
path: root/apps/plugins/viewer.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/viewer.c')
-rw-r--r--apps/plugins/viewer.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c
index 88b43c30b3..299c392177 100644
--- a/apps/plugins/viewer.c
+++ b/apps/plugins/viewer.c
@@ -352,6 +352,18 @@ PLUGIN_HEADER
#define VIEWER_MENU BUTTON_PLAY
#define VIEWER_AUTOSCROLL BUTTON_REW
+/* Packard Bell Vibe 500 keys */
+#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
+#define VIEWER_QUIT BUTTON_REC
+#define VIEWER_PAGE_UP BUTTON_OK
+#define VIEWER_PAGE_DOWN BUTTON_CANCEL
+#define VIEWER_LINE_UP BUTTON_UP
+#define VIEWER_LINE_DOWN BUTTON_DOWN
+#define VIEWER_SCREEN_LEFT BUTTON_PREV
+#define VIEWER_SCREEN_RIGHT BUTTON_NEXT
+#define VIEWER_MENU BUTTON_MENU
+#define VIEWER_AUTOSCROLL BUTTON_PLAY
+
#else
#error No keymap defined!
#endif