forked from len0rd/rockbox
Patch FS#4744 - This patch maps the "Off" button in the pitch screen to reset the playing speed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8902 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6718fd55c7
commit
625454b690
2 changed files with 6 additions and 0 deletions
|
|
@ -600,6 +600,7 @@ long gui_wps_show(void)
|
||||||
|| CONFIG_KEYPAD == IRIVER_H300_PAD
|
|| CONFIG_KEYPAD == IRIVER_H300_PAD
|
||||||
case BUTTON_ON | BUTTON_UP:
|
case BUTTON_ON | BUTTON_UP:
|
||||||
case BUTTON_ON | BUTTON_DOWN:
|
case BUTTON_ON | BUTTON_DOWN:
|
||||||
|
case BUTTON_ON | BUTTON_OFF:
|
||||||
#ifdef HAVE_LCD_COLOR
|
#ifdef HAVE_LCD_COLOR
|
||||||
lcd_set_backdrop(old_backdrop);
|
lcd_set_backdrop(old_backdrop);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -462,6 +462,11 @@ int pitch_screen(void)
|
||||||
used = true;
|
used = true;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case BUTTON_ON | BUTTON_OFF:
|
||||||
|
pitch = 1000;
|
||||||
|
sound_set_pitch( pitch );
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if(default_event_handler(button) == SYS_USB_CONNECTED)
|
if(default_event_handler(button) == SYS_USB_CONNECTED)
|
||||||
return 2;
|
return 2;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue