From bb20b6c4c395a65c7ee56a0df4e9d1e6852c23e6 Mon Sep 17 00:00:00 2001 From: Tomer Shalev Date: Thu, 17 Dec 2009 18:04:17 +0000 Subject: [PATCH] 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 --- apps/keymaps/keymap-cowond2.c | 3 ++- manual/platform/keymap-cowond2.tex | 2 +- 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}