summaryrefslogtreecommitdiff
path: root/apps/plugins/viewer.c
diff options
context:
space:
mode:
authorVitja Makarov <vitja.makarov@gmail.com>2008-10-07 16:38:28 +0000
committerVitja Makarov <vitja.makarov@gmail.com>2008-10-07 16:38:28 +0000
commit2f84f699c0df4a82dfdcb2244e1c7bf4af99fc72 (patch)
tree179ebbbea6f2f234850e42b668813852d10817cb /apps/plugins/viewer.c
parent981bd1cb3e65fdf86db03d9328232e58cf14ff1e (diff)
IAUDIO67_PAD: Add keymaps for most of the plugins, they are not all tested yet.
IAUDIO7: Define MODEL_NAME in config git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18730 a1c6a512-1295-4272-9138-f99709370657
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 806688514e..51fb791b1d 100644
--- a/apps/plugins/viewer.c
+++ b/apps/plugins/viewer.c
@@ -258,6 +258,16 @@ PLUGIN_HEADER
#define VIEWER_QUIT BUTTON_POWER
#define VIEWER_MENU BUTTON_MENU
+#elif CONFIG_KEYPAD == IAUDIO67_PAD
+#define VIEWER_QUIT BUTTON_POWER
+#define VIEWER_PAGE_UP BUTTON_VOLUP
+#define VIEWER_PAGE_DOWN BUTTON_VOLDOWN
+#define VIEWER_SCREEN_LEFT BUTTON_LEFT
+#define VIEWER_SCREEN_RIGHT BUTTON_RIGHT
+#define VIEWER_MENU BUTTON_MENU
+#define VIEWER_AUTOSCROLL BUTTON_PLAY
+#define VIEWER_RC_QUIT BUTTON_STOP
+
#else
#error No keymap defined!
#endif