From 2f84f699c0df4a82dfdcb2244e1c7bf4af99fc72 Mon Sep 17 00:00:00 2001 From: Vitja Makarov Date: Tue, 7 Oct 2008 16:38:28 +0000 Subject: 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 --- apps/plugins/viewer.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'apps/plugins/viewer.c') 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 -- cgit v1.2.3