1
0
Fork 0
forked from len0rd/rockbox

Patch #5731 by Barry Wardell: more iriver h10 work. Thanks!

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10521 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Hristo Kovachev 2006-08-11 08:35:27 +00:00
parent 2c3fd0ce7e
commit 9dc0e62229
15 changed files with 367 additions and 110 deletions

View file

@ -83,6 +83,12 @@ enum tidy_system
#define TIDY_LEFT BUTTON_LEFT
#define TIDY_RIGHT BUTTON_RIGHT
#elif (CONFIG_KEYPAD == IRIVER_H10_PAD)
#define TIDY_DO BUTTON_PLAY
#define TIDY_STOP BUTTON_POWER
#define TIDY_LEFT BUTTON_LEFT
#define TIDY_RIGHT BUTTON_RIGHT
#else
#error DISKTIDY: Unsupported keypad
#endif
@ -374,6 +380,9 @@ void tidy_lcd_menu(enum tidy_system system)
#elif (CONFIG_KEYPAD == GIGABEAT_PAD)
rb->lcd_puts(0, 0, "[Select] to clean up");
rb->lcd_puts(0, 1, "[A] to exit/abort");
#elif (CONFIG_KEYPAD == IRIVER_H10_PAD)
rb->lcd_puts(0, 0, "[Play] to clean up");
rb->lcd_puts(0, 1, "[Power] to exit/abort");
#else
#error DISKTIDY: Unsupported model
#endif