summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2009-12-17 18:04:17 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2009-12-17 18:04:17 +0000
commitbb20b6c4c395a65c7ee56a0df4e9d1e6852c23e6 (patch)
tree494f6aa021d70fea3148bc380dd2e6321e2bb222
parentb8782292a23c4d9a3b6af72bc9e2e69127d36df8 (diff)
downloadrockbox-bb20b6c4c395a65c7ee56a0df4e9d1e6852c23e6.tar.gz
rockbox-bb20b6c4c395a65c7ee56a0df4e9d1e6852c23e6.zip
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
-rw-r--r--apps/keymaps/keymap-cowond2.c3
-rw-r--r--manual/platform/keymap-cowond2.tex2
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/keymaps/keymap-cowond2.c b/apps/keymaps/keymap-cowond2.c
index 37d622210a..09d17120ef 100644
--- a/apps/keymaps/keymap-cowond2.c
+++ b/apps/keymaps/keymap-cowond2.c
@@ -59,7 +59,8 @@ static const struct button_mapping button_context_wps[] = {
{ ACTION_WPS_VOLDOWN, BUTTON_MINUS|BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_WPS_VOLUP, BUTTON_PLUS, 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_CONTEXT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_MENU },
diff --git a/manual/platform/keymap-cowond2.tex b/manual/platform/keymap-cowond2.tex
index cc8edb80dd..c6fd2a4f7e 100644
--- a/manual/platform/keymap-cowond2.tex
+++ b/manual/platform/keymap-cowond2.tex
@@ -34,7 +34,7 @@
\newcommand{\ActionWpsQuickScreen}{\TouchActionWpsQuickScreen}
\newcommand{\ActionWpsMenu}{\ButtonMenu{} or \TouchActionWpsMenu}
\newcommand{\ActionWpsContext}{Long \ButtonMenu{} or \TouchActionWpsContext}
-\newcommand{\ActionWpsBrowse}{\ButtonPower{} or \TouchActionWpsBrowse}
+\newcommand{\ActionWpsBrowse}{\ButtonMinus{}+\ButtonPower{} or \TouchActionWpsBrowse}
\newcommand{\ActionWpsPitchScreen}{\TouchActionWpsPitchScreen}
\newcommand{\ActionWpsIdThreeScreen}{\TouchActionWpsIdThreeScreen}