summaryrefslogtreecommitdiff
path: root/apps/plugins/wormlet.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/wormlet.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/wormlet.c')
-rw-r--r--apps/plugins/wormlet.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c
index 279fcfcb61..f108b4d518 100644
--- a/apps/plugins/wormlet.c
+++ b/apps/plugins/wormlet.c
@@ -127,6 +127,21 @@ PLUGIN_HEADER
127#define PLAYERS_TEXT "Up/Down" 127#define PLAYERS_TEXT "Up/Down"
128#define WORMS_TEXT "Left/Right" 128#define WORMS_TEXT "Left/Right"
129 129
130
131#elif (CONFIG_KEYPAD == SANSA_E200_PAD)
132
133#define BTN_DIR_UP BUTTON_UP
134#define BTN_DIR_DOWN BUTTON_DOWN
135#define BTN_DIR_LEFT BUTTON_LEFT
136#define BTN_DIR_RIGHT BUTTON_RIGHT
137#define BTN_STARTPAUSE BUTTON_SELECT
138#define BTN_QUIT BUTTON_POWER
139#define BTN_STOPRESET BUTTON_REC
140
141#define PLAYERS_TEXT "Up/Down"
142#define WORMS_TEXT "Left/Right"
143
144
130#elif (CONFIG_KEYPAD == IRIVER_H10_PAD) 145#elif (CONFIG_KEYPAD == IRIVER_H10_PAD)
131 146
132#define BTN_DIR_UP BUTTON_SCROLL_UP 147#define BTN_DIR_UP BUTTON_SCROLL_UP