Accept FS#6920, swap the 'A' and 'Select' button functions while in the

WPS.

This allows a wider range of available functionality when just using the 
cross with a thumb, and brings controls more parallel to devices with 
similar input options in Rockbox.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14554 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Paul Louden 2007-08-31 14:09:47 +00:00
parent 7db65ab5a7
commit 9931d5699c

View file

@ -66,7 +66,7 @@ static const struct button_mapping button_context_standard[] = {
static const struct button_mapping button_context_wps[] = {
{ ACTION_WPS_PLAY, BUTTON_SELECT|BUTTON_REL, BUTTON_SELECT },
{ ACTION_WPS_PLAY, BUTTON_POWER|BUTTON_REL, BUTTON_POWER },
{ ACTION_WPS_STOP, BUTTON_POWER|BUTTON_REL, BUTTON_POWER },
{ ACTION_WPS_SKIPNEXT, BUTTON_RIGHT|BUTTON_REL, BUTTON_RIGHT },
@ -98,7 +98,7 @@ static const struct button_mapping button_context_wps[] = {
{ ACTION_WPS_CONTEXT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_SELECT },
{ ACTION_WPS_ID3SCREEN, BUTTON_A|BUTTON_MENU, BUTTON_NONE },
{ ACTION_WPS_BROWSE, BUTTON_A|BUTTON_REL, BUTTON_A },
{ ACTION_WPS_BROWSE, BUTTON_SELECT|BUTTON_REL, BUTTON_SELECT },
LAST_ITEM_IN_LIST
}; /* button_context_wps */