From 5cc11a1914fec6d41517ab182bfe7541559e797b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Thu, 2 Sep 2010 07:50:01 +0000 Subject: [PATCH] Clip WPS keymap: move pitchscreen to long up Make users happy, as now short down does nothing (but bring backlight on) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27982 a1c6a512-1295-4272-9138-f99709370657 --- apps/keymaps/keymap-clip.c | 5 +++-- manual/platform/keymap-sansaclip.tex | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/keymaps/keymap-clip.c b/apps/keymaps/keymap-clip.c index c89d4ae694..ff28e412a9 100644 --- a/apps/keymaps/keymap-clip.c +++ b/apps/keymaps/keymap-clip.c @@ -80,9 +80,10 @@ static const struct button_mapping button_context_wps[] = { { ACTION_WPS_QUICKSCREEN, BUTTON_HOME|BUTTON_REPEAT, BUTTON_HOME }, { ACTION_WPS_MENU, BUTTON_HOME|BUTTON_REL, BUTTON_HOME }, - { ACTION_WPS_PITCHSCREEN, BUTTON_DOWN|BUTTON_REL, BUTTON_NONE }, + { ACTION_WPS_PITCHSCREEN, BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE }, { ACTION_WPS_ID3SCREEN, BUTTON_SELECT|BUTTON_DOWN, BUTTON_SELECT }, -#ifdef HAVE_HOTKEY + +#ifdef HAVE_HOTKEY /* down|repeat doesn't work in the file browser */ { ACTION_WPS_HOTKEY, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE }, #else { ACTION_WPS_VIEW_PLAYLIST, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE }, diff --git a/manual/platform/keymap-sansaclip.tex b/manual/platform/keymap-sansaclip.tex index 85dd9813c0..7c9d43de87 100644 --- a/manual/platform/keymap-sansaclip.tex +++ b/manual/platform/keymap-sansaclip.tex @@ -39,7 +39,7 @@ \newcommand{\ActionWpsMenu}{\ButtonHome} \newcommand{\ActionWpsContext}{Long \ButtonSelect} \newcommand{\ActionWpsBrowse}{\ButtonSelect} -\newcommand{\ActionWpsPitchScreen}{\ButtonDown} +\newcommand{\ActionWpsPitchScreen}{Long \ButtonUp} \newcommand{\ActionWpsPlaylist}{Long \ButtonDown} \newcommand{\ActionWpsIdThreeScreen}{\ButtonSelect{} + \ButtonDown}