Make short press of SELECT in FMS return ACTION_NONE on Sansa Fuze

Fixes action fall through of select|release on fuze during FMS screen
allowing detection of unmapped button

Change-Id: I53945766263d8710f31621a4c9ad50cec7be2b0d
This commit is contained in:
William Wilgus 2017-09-09 16:31:19 +02:00
parent 8db6d2004a
commit 80bb6ccdc4

View file

@ -231,6 +231,7 @@ static const struct button_mapping button_context_recscreen[] = {
/** FM Radio Screen **/
static const struct button_mapping button_context_radio[] = {
{ ACTION_NONE, BUTTON_SELECT|BUTTON_REL, BUTTON_SELECT},
{ ACTION_STD_PREV, BUTTON_LEFT, BUTTON_NONE },
{ ACTION_STD_PREVREPEAT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_STD_NEXT, BUTTON_RIGHT, BUTTON_NONE },