From cedba8830fd015e9a61b7a772927fefe565f7b41 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 18 Jan 2006 11:09:06 +0000 Subject: Matt v.d. Westhuizen's iAudio X5 keypad adjustments git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/viewer.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'apps/plugins/viewer.c') diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index b98605af84..a1de3f9017 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c @@ -140,6 +140,17 @@ PLUGIN_HEADER #define VIEWER_MODE_LINE (BUTTON_EQ | BUTTON_REPEAT) #define VIEWER_MODE_WIDTH BUTTON_MODE +/* iAudio X5 keys */ +#elif CONFIG_KEYPAD == IAUDIO_X5_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_MODE_WRAP (BUTTON_PLAY | BUTTON_REL) +#define VIEWER_MODE_LINE (BUTTON_PLAY | BUTTON_REPEAT) +#define VIEWER_MODE_WIDTH BUTTON_MENU + #endif enum { -- cgit v1.2.3