summaryrefslogtreecommitdiff
path: root/apps/plugins/viewer.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-06-29 12:47:24 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-06-29 12:47:24 +0000
commit01377e2e5791ae72f112c722405efb6e12e00db5 (patch)
treed3c6cd2055e262d20cbcc767783275a6d29ef532 /apps/plugins/viewer.c
parent9e8918b0866b249a55c06a16a243cdd3dcdad305 (diff)
downloadrockbox-01377e2e5791ae72f112c722405efb6e12e00db5.zip
rockbox-01377e2e5791ae72f112c722405efb6e12e00db5.tar.gz
rockbox-01377e2e5791ae72f112c722405efb6e12e00db5.tar.bz2
rockbox-01377e2e5791ae72f112c722405efb6e12e00db5.tar.xz
Hristo Kovachev's keypad fixes for the H300 build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6912 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/viewer.c')
-rw-r--r--apps/plugins/viewer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c
index b36d025..8539cac 100644
--- a/apps/plugins/viewer.c
+++ b/apps/plugins/viewer.c
@@ -101,8 +101,9 @@
#define VIEWER_MODE_LINE (BUTTON_ON | BUTTON_MENU | BUTTON_RIGHT)
#define VIEWER_MODE_WIDTH (BUTTON_ON | BUTTON_RIGHT)
-/* iRiver H1x0 keys */
-#elif CONFIG_KEYPAD == IRIVER_H100_PAD
+/* iRiver H1x0 && H3x0 keys */
+#elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \
+ (CONFIG_KEYPAD == IRIVER_H300_PAD)
#define VIEWER_QUIT BUTTON_OFF
#define VIEWER_PAGE_UP BUTTON_UP
#define VIEWER_PAGE_DOWN BUTTON_DOWN