diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-06-29 13:25:45 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-06-29 13:25:45 +0000 |
commit | ba6408122898091c57b331230560df460205a5a3 (patch) | |
tree | 43b09b0ff5b2188739b8176e3051e4b2efb4d9ed /apps/plugins/viewer.c | |
parent | c811b97573669360ce14a441bca0e2a9aa56d4ce (diff) | |
download | rockbox-ba6408122898091c57b331230560df460205a5a3.tar.gz rockbox-ba6408122898091c57b331230560df460205a5a3.zip |
adjusted for the h300 to make it do similar as the h100
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6916 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/viewer.c')
-rw-r--r-- | apps/plugins/viewer.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c index 8539cac1eb..c695f2f7f0 100644 --- a/apps/plugins/viewer.c +++ b/apps/plugins/viewer.c | |||
@@ -1159,7 +1159,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file) | |||
1159 | break; | 1159 | break; |
1160 | 1160 | ||
1161 | #if (CONFIG_KEYPAD == RECORDER_PAD) || (CONFIG_KEYPAD == ONDIO_PAD) \ | 1161 | #if (CONFIG_KEYPAD == RECORDER_PAD) || (CONFIG_KEYPAD == ONDIO_PAD) \ |
1162 | || (CONFIG_KEYPAD == IRIVER_H100_PAD) | 1162 | || (CONFIG_KEYPAD == IRIVER_H100_PAD) || (CONFIG_KEYPAD == IRIVER_H300_PAD) |
1163 | case VIEWER_MODE_PAGE: | 1163 | case VIEWER_MODE_PAGE: |
1164 | /* Page-overlap mode */ | 1164 | /* Page-overlap mode */ |
1165 | if (++page_mode == PAGE_MODES) | 1165 | if (++page_mode == PAGE_MODES) |
@@ -1191,7 +1191,8 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file) | |||
1191 | break; | 1191 | break; |
1192 | #endif | 1192 | #endif |
1193 | 1193 | ||
1194 | #if (CONFIG_KEYPAD == RECORDER_PAD) || (CONFIG_KEYPAD == IRIVER_H100_PAD) | 1194 | #if (CONFIG_KEYPAD == RECORDER_PAD) || (CONFIG_KEYPAD == IRIVER_H100_PAD) \ |
1195 | || (CONFIG_KEYPAD == IRIVER_H300_PAD) | ||
1195 | case VIEWER_LINE_UP: | 1196 | case VIEWER_LINE_UP: |
1196 | case VIEWER_LINE_UP | BUTTON_REPEAT: | 1197 | case VIEWER_LINE_UP | BUTTON_REPEAT: |
1197 | /* Scroll up one line */ | 1198 | /* Scroll up one line */ |