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.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c
index a7be5db33c..a4619269e5 100644
--- a/apps/plugins/viewer.c
+++ b/apps/plugins/viewer.c
@@ -244,6 +244,15 @@ PLUGIN_HEADER
#define VIEWER_RC_QUIT BUTTON_REC
+#elif CONFIG_KEYPAD == COWOND2_PAD
+#define VIEWER_QUIT BUTTON_POWER
+#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_MENU
+#define VIEWER_AUTOSCROLL BUTTON_SELECT
+
#else
#error No keymap defined!
#endif