mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Backport r29577 to the 3.8 branch - Fix FS#11894 - Sansa Clip+ Volume Buttons don't switch when Upside Down is activated
git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_8@29649 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
368e872c52
commit
017f61388b
1 changed files with 2 additions and 2 deletions
|
@ -485,7 +485,7 @@ static int button_flip(int button)
|
|||
#if CONFIG_KEYPAD == RECORDER_PAD
|
||||
| BUTTON_F1 | BUTTON_F3
|
||||
#endif
|
||||
#if CONFIG_KEYPAD == SANSA_C200_PAD
|
||||
#if (CONFIG_KEYPAD == SANSA_C200_PAD) || (CONFIG_KEYPAD == SANSA_CLIP_PAD)
|
||||
| BUTTON_VOL_UP | BUTTON_VOL_DOWN
|
||||
#endif
|
||||
#if CONFIG_KEYPAD == PHILIPS_SA9200_PAD
|
||||
|
@ -516,7 +516,7 @@ static int button_flip(int button)
|
|||
if (button & BUTTON_F3)
|
||||
newbutton |= BUTTON_F1;
|
||||
#endif
|
||||
#if CONFIG_KEYPAD == SANSA_C200_PAD
|
||||
#if (CONFIG_KEYPAD == SANSA_C200_PAD) || (CONFIG_KEYPAD == SANSA_CLIP_PAD)
|
||||
if (button & BUTTON_VOL_UP)
|
||||
newbutton |= BUTTON_VOL_DOWN;
|
||||
if (button & BUTTON_VOL_DOWN)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue