Cowon D2: Map ACTION_WPS_BROWSE to BUTTON_MINUS|BUTTON_POWER because you sometimes hit it by accident when turning off hold feature.

Suggested by Bkd11 in the Cowon D2 forum thread.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24052 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Tomer Shalev 2009-12-17 18:04:17 +00:00
parent b8782292a2
commit bb20b6c4c3
2 changed files with 3 additions and 2 deletions

View file

@ -59,7 +59,8 @@ static const struct button_mapping button_context_wps[] = {
{ ACTION_WPS_VOLDOWN, BUTTON_MINUS|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_WPS_VOLDOWN, BUTTON_MINUS|BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_WPS_VOLUP, BUTTON_PLUS, BUTTON_NONE }, { ACTION_WPS_VOLUP, BUTTON_PLUS, BUTTON_NONE },
{ ACTION_WPS_VOLUP, BUTTON_PLUS|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_WPS_VOLUP, BUTTON_PLUS|BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_WPS_BROWSE, BUTTON_POWER|BUTTON_REL, BUTTON_POWER }, { ACTION_WPS_BROWSE, BUTTON_MINUS|BUTTON_POWER, BUTTON_MINUS },
{ ACTION_WPS_BROWSE, BUTTON_MINUS|BUTTON_POWER, BUTTON_MINUS|BUTTON_REPEAT },
{ ACTION_WPS_MENU, BUTTON_MENU|BUTTON_REL, BUTTON_MENU }, { ACTION_WPS_MENU, BUTTON_MENU|BUTTON_REL, BUTTON_MENU },
{ ACTION_WPS_CONTEXT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_MENU }, { ACTION_WPS_CONTEXT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_MENU },

View file

@ -34,7 +34,7 @@
\newcommand{\ActionWpsQuickScreen}{\TouchActionWpsQuickScreen} \newcommand{\ActionWpsQuickScreen}{\TouchActionWpsQuickScreen}
\newcommand{\ActionWpsMenu}{\ButtonMenu{} or \TouchActionWpsMenu} \newcommand{\ActionWpsMenu}{\ButtonMenu{} or \TouchActionWpsMenu}
\newcommand{\ActionWpsContext}{Long \ButtonMenu{} or \TouchActionWpsContext} \newcommand{\ActionWpsContext}{Long \ButtonMenu{} or \TouchActionWpsContext}
\newcommand{\ActionWpsBrowse}{\ButtonPower{} or \TouchActionWpsBrowse} \newcommand{\ActionWpsBrowse}{\ButtonMinus{}+\ButtonPower{} or \TouchActionWpsBrowse}
\newcommand{\ActionWpsPitchScreen}{\TouchActionWpsPitchScreen} \newcommand{\ActionWpsPitchScreen}{\TouchActionWpsPitchScreen}
\newcommand{\ActionWpsIdThreeScreen}{\TouchActionWpsIdThreeScreen} \newcommand{\ActionWpsIdThreeScreen}{\TouchActionWpsIdThreeScreen}