diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-01-18 11:09:06 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-01-18 11:09:06 +0000 |
commit | cedba8830fd015e9a61b7a772927fefe565f7b41 (patch) | |
tree | e33e1b1ff14904098534a7e78d71ba672fcb78e0 /apps/plugins/viewer.c | |
parent | 205be712fe6ad03f194216bc0f936f1b5917eafd (diff) | |
download | rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.tar.gz rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.zip |
Matt v.d. Westhuizen's iAudio X5 keypad adjustments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/viewer.c')
-rw-r--r-- | apps/plugins/viewer.c | 11 |
1 files changed, 11 insertions, 0 deletions
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 | |||
140 | #define VIEWER_MODE_LINE (BUTTON_EQ | BUTTON_REPEAT) | 140 | #define VIEWER_MODE_LINE (BUTTON_EQ | BUTTON_REPEAT) |
141 | #define VIEWER_MODE_WIDTH BUTTON_MODE | 141 | #define VIEWER_MODE_WIDTH BUTTON_MODE |
142 | 142 | ||
143 | /* iAudio X5 keys */ | ||
144 | #elif CONFIG_KEYPAD == IAUDIO_X5_PAD | ||
145 | #define VIEWER_QUIT BUTTON_POWER | ||
146 | #define VIEWER_PAGE_UP BUTTON_UP | ||
147 | #define VIEWER_PAGE_DOWN BUTTON_DOWN | ||
148 | #define VIEWER_SCREEN_LEFT BUTTON_LEFT | ||
149 | #define VIEWER_SCREEN_RIGHT BUTTON_RIGHT | ||
150 | #define VIEWER_MODE_WRAP (BUTTON_PLAY | BUTTON_REL) | ||
151 | #define VIEWER_MODE_LINE (BUTTON_PLAY | BUTTON_REPEAT) | ||
152 | #define VIEWER_MODE_WIDTH BUTTON_MENU | ||
153 | |||
143 | #endif | 154 | #endif |
144 | 155 | ||
145 | enum { | 156 | enum { |