summaryrefslogtreecommitdiff
path: root/apps/plugins/viewer.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/viewer.c')
-rw-r--r--apps/plugins/viewer.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c
index 9db19d4..c41996b 100644
--- a/apps/plugins/viewer.c
+++ b/apps/plugins/viewer.c
@@ -328,6 +328,16 @@ PLUGIN_HEADER
#define VIEWER_QUIT BUTTON_POWER
#define VIEWER_MENU BUTTON_MENU
+/* SAMSUNG YH-820 / YH-920 / YH-925 keys */
+#elif CONFIG_KEYPAD == SAMSUNG_YH_PAD
+#define VIEWER_QUIT BUTTON_REC
+#define VIEWER_PAGE_UP BUTTON_UP
+#define VIEWER_PAGE_DOWN BUTTON_DOWN
+#define VIEWER_SCREEN_LEFT BUTTON_LEFT
+#define VIEWER_SCREEN_RIGHT BUTTON_RIGHT
+#define VIEWER_MENU BUTTON_PLAY
+#define VIEWER_AUTOSCROLL BUTTON_REW
+
#else
#error No keymap defined!
#endif