Playback speed changing support for H300.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8153 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
48b11e862e
commit
5deedc6571
3 changed files with 7 additions and 4 deletions
|
@ -531,7 +531,8 @@ long gui_wps_show(void)
|
|||
#endif
|
||||
|
||||
/* pitch screen */
|
||||
#if CONFIG_KEYPAD == RECORDER_PAD || CONFIG_KEYPAD == IRIVER_H100_PAD
|
||||
#if CONFIG_KEYPAD == RECORDER_PAD || CONFIG_KEYPAD == IRIVER_H100_PAD \
|
||||
|| CONFIG_KEYPAD == IRIVER_H300_PAD
|
||||
case BUTTON_ON | BUTTON_UP:
|
||||
case BUTTON_ON | BUTTON_DOWN:
|
||||
if (2 == pitch_screen())
|
||||
|
|
|
@ -342,14 +342,15 @@ int charging_screen(void)
|
|||
#endif /* HAVE_CHARGING && !HAVE_POWEROFF_WHILE_CHARGING */
|
||||
|
||||
|
||||
#if CONFIG_KEYPAD == RECORDER_PAD || CONFIG_KEYPAD == IRIVER_H100_PAD
|
||||
#if CONFIG_KEYPAD == RECORDER_PAD || CONFIG_KEYPAD == IRIVER_H100_PAD \
|
||||
|| CONFIG_KEYPAD == IRIVER_H300_PAD
|
||||
/* returns:
|
||||
0 if no key was pressed
|
||||
1 if a key was pressed (or if ON was held down long enough to repeat)
|
||||
2 if USB was connected */
|
||||
#if CONFIG_KEYPAD == RECORDER_PAD
|
||||
#define PITCH_PAUSE BUTTON_PLAY
|
||||
#elif CONFIG_KEYPAD == IRIVER_H100_PAD
|
||||
#elif CONFIG_KEYPAD == IRIVER_H100_PAD || CONFIG_KEYPAD == IRIVER_H300_PAD
|
||||
#define PITCH_PAUSE BUTTON_SELECT
|
||||
#endif
|
||||
int pitch_screen(void)
|
||||
|
|
|
@ -33,7 +33,8 @@ void charging_splash(void);
|
|||
int mmc_remove_request(void);
|
||||
#endif
|
||||
|
||||
#if CONFIG_KEYPAD == RECORDER_PAD || defined(IRIVER_H100_SERIES)
|
||||
#if CONFIG_KEYPAD == RECORDER_PAD || CONFIG_KEYPAD == IRIVER_H100_PAD \
|
||||
|| CONFIG_KEYPAD == IRIVER_H300_PAD
|
||||
int pitch_screen(void);
|
||||
#endif
|
||||
#if CONFIG_KEYPAD == RECORDER_PAD
|
||||
|
|
Loading…
Reference in a new issue