summaryrefslogtreecommitdiff
path: root/apps/plugins/viewer.c
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-10-26 13:38:09 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-10-26 13:38:09 +0000
commit24f4a2a8cfd561657ce25ebf93470716f07397fe (patch)
treef411d86cb56bd128fe0206d148005f0a882f686a /apps/plugins/viewer.c
parent34193e5cf23e7d739c2ccda0ed82e77492578cef (diff)
downloadrockbox-24f4a2a8cfd561657ce25ebf93470716f07397fe.tar.gz
rockbox-24f4a2a8cfd561657ce25ebf93470716f07397fe.zip
Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the nice image of the Sansa. Lots more to be done including testing and tweaking the keymaps and modifying the plugins for the Sansa's 176x220 LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11351 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 9024825104..af73257508 100644
--- a/apps/plugins/viewer.c
+++ b/apps/plugins/viewer.c
@@ -157,6 +157,16 @@ PLUGIN_HEADER
157#define VIEWER_MENU BUTTON_MENU 157#define VIEWER_MENU BUTTON_MENU
158#define VIEWER_AUTOSCROLL BUTTON_A 158#define VIEWER_AUTOSCROLL BUTTON_A
159 159
160/* Sansa E200 keys */
161#elif CONFIG_KEYPAD == SANSA_E200_PAD
162#define VIEWER_QUIT BUTTON_POWER
163#define VIEWER_PAGE_UP BUTTON_UP
164#define VIEWER_PAGE_DOWN BUTTON_DOWN
165#define VIEWER_SCREEN_LEFT BUTTON_LEFT
166#define VIEWER_SCREEN_RIGHT BUTTON_RIGHT
167#define VIEWER_MENU BUTTON_SELECT
168#define VIEWER_AUTOSCROLL BUTTON_SCROLL_UP
169
160/* iriver H10 keys */ 170/* iriver H10 keys */
161#elif CONFIG_KEYPAD == IRIVER_H10_PAD 171#elif CONFIG_KEYPAD == IRIVER_H10_PAD
162#define VIEWER_QUIT BUTTON_POWER 172#define VIEWER_QUIT BUTTON_POWER