summaryrefslogtreecommitdiff
path: root/apps/plugins/disktidy.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/disktidy.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/disktidy.c')
-rw-r--r--apps/plugins/disktidy.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/disktidy.c b/apps/plugins/disktidy.c
index e8d6385cbe..7af75f545b 100644
--- a/apps/plugins/disktidy.c
+++ b/apps/plugins/disktidy.c
@@ -83,6 +83,12 @@ enum tidy_system
83#define TIDY_LEFT BUTTON_LEFT 83#define TIDY_LEFT BUTTON_LEFT
84#define TIDY_RIGHT BUTTON_RIGHT 84#define TIDY_RIGHT BUTTON_RIGHT
85 85
86#elif (CONFIG_KEYPAD == SANSA_E200_PAD)
87#define TIDY_DO BUTTON_SELECT
88#define TIDY_STOP BUTTON_POWER
89#define TIDY_LEFT BUTTON_LEFT
90#define TIDY_RIGHT BUTTON_RIGHT
91
86#elif (CONFIG_KEYPAD == IRIVER_H10_PAD) 92#elif (CONFIG_KEYPAD == IRIVER_H10_PAD)
87#define TIDY_DO BUTTON_PLAY 93#define TIDY_DO BUTTON_PLAY
88#define TIDY_STOP BUTTON_POWER 94#define TIDY_STOP BUTTON_POWER
@@ -383,6 +389,9 @@ void tidy_lcd_menu(enum tidy_system system)
383#elif (CONFIG_KEYPAD == IRIVER_H10_PAD) 389#elif (CONFIG_KEYPAD == IRIVER_H10_PAD)
384 rb->lcd_puts(0, 0, "[Play] to clean up"); 390 rb->lcd_puts(0, 0, "[Play] to clean up");
385 rb->lcd_puts(0, 1, "[Power] to exit/abort"); 391 rb->lcd_puts(0, 1, "[Power] to exit/abort");
392#elif (CONFIG_KEYPAD == SANSA_E200_PAD)
393 rb->lcd_puts(0, 0, "[Select] to clean up");
394 rb->lcd_puts(0, 1, "[Power] to exit/abort");
386#else 395#else
387 #error DISKTIDY: Unsupported model 396 #error DISKTIDY: Unsupported model
388#endif 397#endif