summaryrefslogtreecommitdiff
path: root/apps/plugins/viewer.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-08-03 20:17:25 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-08-03 20:17:25 +0000
commit1e88be518adafe146704a506aad7f895fffbb240 (patch)
tree59de8c14bcec054d32b82890f73391301ad152aa /apps/plugins/viewer.c
parent364e892050c5d03895d27ad290180f7a82d0ecbf (diff)
downloadrockbox-1e88be518adafe146704a506aad7f895fffbb240.tar.gz
rockbox-1e88be518adafe146704a506aad7f895fffbb240.zip
Barry Wardell's keymappings for H10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/viewer.c')
-rw-r--r--apps/plugins/viewer.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c
index e30f08defb..9180fa6dcd 100644
--- a/apps/plugins/viewer.c
+++ b/apps/plugins/viewer.c
@@ -154,6 +154,16 @@ PLUGIN_HEADER
154#define VIEWER_MENU BUTTON_MENU 154#define VIEWER_MENU BUTTON_MENU
155#define VIEWER_AUTOSCROLL BUTTON_A 155#define VIEWER_AUTOSCROLL BUTTON_A
156 156
157/* iriver H10 keys */
158#elif CONFIG_KEYPAD == IRIVER_H10_PAD
159#define VIEWER_QUIT BUTTON_POWER
160#define VIEWER_PAGE_UP BUTTON_SCROLL_UP
161#define VIEWER_PAGE_DOWN BUTTON_SCROLL_DOWN
162#define VIEWER_SCREEN_LEFT BUTTON_LEFT
163#define VIEWER_SCREEN_RIGHT BUTTON_RIGHT
164#define VIEWER_MENU BUTTON_REW
165#define VIEWER_AUTOSCROLL BUTTON_PLAY
166
157#endif 167#endif
158 168
159struct preferences { 169struct preferences {