forked from len0rd/rockbox
Fix FMS Volume-long press Up and Down button actions for SANSA CLIP derivatives
When long pressing PLAY/PAUSE and FM_MODE on devices that use the clip keymap the volume changes in addition to toggling PLAY/PAUSE and SCAN/SEEK,this patch removes the volume functionality as these devices provide dedicated volume buttons Change-Id: I3ab5af6da07900417c31c7a1036343b32b950e4e
This commit is contained in:
parent
0c06e5fe90
commit
8db6d2004a
1 changed files with 2 additions and 1 deletions
|
|
@ -242,8 +242,9 @@ static const struct button_mapping button_context_recscreen[] = {
|
|||
|
||||
/** FM Radio Screen **/
|
||||
static const struct button_mapping button_context_radio[] = {
|
||||
{ ACTION_NONE, BUTTON_UP|BUTTON_REPEAT, BUTTON_UP},
|
||||
{ ACTION_NONE, BUTTON_SELECT, BUTTON_NONE },
|
||||
{ ACTION_NONE, BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE },
|
||||
{ ACTION_NONE, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE },
|
||||
{ ACTION_FM_MODE, BUTTON_DOWN, BUTTON_NONE },
|
||||
{ ACTION_FM_PRESET, BUTTON_SELECT|BUTTON_REL, BUTTON_SELECT },
|
||||
{ ACTION_FM_STOP, BUTTON_POWER|BUTTON_REL, BUTTON_POWER },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue