diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-02-04 12:41:09 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-02-04 12:41:09 +0000 |
commit | 6700ad8f206d0beba92e22680504ae6ba2b7d74c (patch) | |
tree | 1eba76a3a966d2a38e1819157917918b7721ff0b /apps/plugins/viewer.c | |
parent | 3fcfdffe88025a943f9c72f7b86363dc08edaecd (diff) |
adapted to build on iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5784 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/viewer.c')
-rw-r--r-- | apps/plugins/viewer.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index 281868bf65..f09e7c8682 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c @@ -98,6 +98,16 @@ #define VIEWER_MODE_LINE (BUTTON_ON | BUTTON_MENU | BUTTON_RIGHT) #define VIEWER_MODE_WIDTH (BUTTON_ON | BUTTON_RIGHT) +#elif CONFIG_KEYPAD == IRIVER_H100_PAD +#define VIEWER_QUIT BUTTON_OFF +#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_ON | BUTTON_LEFT) +#define VIEWER_MODE_LINE (BUTTON_ON | BUTTON_DOWN) +#define VIEWER_MODE_WIDTH (BUTTON_ON | BUTTON_RIGHT) + #endif enum { |