summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroman.artiukhin <bahusdrive@gmail.com>2023-01-29 14:50:34 +0200
committerAidan MacDonald <amachronic@protonmail.com>2023-05-24 13:23:26 -0400
commitf2a5b78b51fe77e90c388b77fd84d00ff0bfc054 (patch)
tree8914f5ebc22f130cbf93bd2fec959917efb0e33a
parent3acd5f86e59586e45cc1ec2bc25cc662a8488d6f (diff)
downloadrockbox-f2a5b78b51.tar.gz
rockbox-f2a5b78b51.zip
Sansa Clip keymap: Playlist on short Down press and Hotkey on long Down press in WPS
Change-Id: I39a01df90b658d76b9cf2f94d9a81a4f7ff076cf
-rw-r--r--apps/keymaps/keymap-clip.c4
-rw-r--r--manual/platform/keymap-sansaclip.tex4
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/keymaps/keymap-clip.c b/apps/keymaps/keymap-clip.c
index 494c9a734c..59ee080364 100644
--- a/apps/keymaps/keymap-clip.c
+++ b/apps/keymaps/keymap-clip.c
@@ -84,9 +84,9 @@ static const struct button_mapping button_context_wps[] = {
{ ACTION_WPS_ID3SCREEN, BUTTON_SELECT|BUTTON_DOWN, BUTTON_SELECT },
#ifdef HAVE_HOTKEY /* down|repeat doesn't work in the file browser */
- { ACTION_WPS_HOTKEY, BUTTON_DOWN, BUTTON_NONE },
+ { ACTION_WPS_HOTKEY, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_DOWN },
#endif
- { ACTION_WPS_VIEW_PLAYLIST, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE },
+ { ACTION_WPS_VIEW_PLAYLIST, BUTTON_DOWN|BUTTON_REL, BUTTON_DOWN },
#ifndef HAS_BUTTON_HOLD /* Clip+ */
{ ACTION_STD_KEYLOCK, BUTTON_HOME|BUTTON_SELECT, BUTTON_NONE },
diff --git a/manual/platform/keymap-sansaclip.tex b/manual/platform/keymap-sansaclip.tex
index 29cb74dcc2..3e9f993eb6 100644
--- a/manual/platform/keymap-sansaclip.tex
+++ b/manual/platform/keymap-sansaclip.tex
@@ -40,9 +40,9 @@
\newcommand{\ActionWpsContext}{Long \ButtonSelect}
\newcommand{\ActionWpsBrowse}{\ButtonSelect}
\newcommand{\ActionWpsPitchScreen}{Long \ButtonUp}
-\newcommand{\ActionWpsPlaylist}{Long \ButtonDown}
+\newcommand{\ActionWpsPlaylist}{\ButtonDown}
\newcommand{\ActionWpsIdThreeScreen}{\ButtonSelect{} + \ButtonDown}
-\newcommand{\ActionWpsHotkey}{\ButtonDown}
+\newcommand{\ActionWpsHotkey}{Long \ButtonDown}
\newcommand{\ActionWpsAbSetBNextDir}{\ButtonPower{} + \ButtonRight}
\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonPower{} + \ButtonLeft}