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.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c
index ea33314..a7be5db 100644
--- a/apps/plugins/viewer.c
+++ b/apps/plugins/viewer.c
@@ -232,6 +232,18 @@ PLUGIN_HEADER
#define VIEWER_MENU BUTTON_MENU
#define VIEWER_AUTOSCROLL BUTTON_DISPLAY
+/* iAUdio M3 keys */
+#elif CONFIG_KEYPAD == IAUDIO_M3_PAD
+#define VIEWER_QUIT BUTTON_RC_REC
+#define VIEWER_PAGE_UP BUTTON_RC_VOL_UP
+#define VIEWER_PAGE_DOWN BUTTON_RC_VOL_DOWN
+#define VIEWER_SCREEN_LEFT BUTTON_RC_REW
+#define VIEWER_SCREEN_RIGHT BUTTON_RC_FF
+#define VIEWER_MENU BUTTON_RC_MENU
+#define VIEWER_AUTOSCROLL BUTTON_RC_MODE
+
+#define VIEWER_RC_QUIT BUTTON_REC
+
#else
#error No keymap defined!
#endif