summaryrefslogtreecommitdiff
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-f2a5b78b51fe77e90c388b77fd84d00ff0bfc054.tar.gz
rockbox-f2a5b78b51fe77e90c388b77fd84d00ff0bfc054.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[] = {
84 { ACTION_WPS_ID3SCREEN, BUTTON_SELECT|BUTTON_DOWN, BUTTON_SELECT }, 84 { ACTION_WPS_ID3SCREEN, BUTTON_SELECT|BUTTON_DOWN, BUTTON_SELECT },
85 85
86#ifdef HAVE_HOTKEY /* down|repeat doesn't work in the file browser */ 86#ifdef HAVE_HOTKEY /* down|repeat doesn't work in the file browser */
87 { ACTION_WPS_HOTKEY, BUTTON_DOWN, BUTTON_NONE }, 87 { ACTION_WPS_HOTKEY, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_DOWN },
88#endif 88#endif
89 { ACTION_WPS_VIEW_PLAYLIST, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE }, 89 { ACTION_WPS_VIEW_PLAYLIST, BUTTON_DOWN|BUTTON_REL, BUTTON_DOWN },
90 90
91#ifndef HAS_BUTTON_HOLD /* Clip+ */ 91#ifndef HAS_BUTTON_HOLD /* Clip+ */
92 { ACTION_STD_KEYLOCK, BUTTON_HOME|BUTTON_SELECT, BUTTON_NONE }, 92 { 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 @@
40\newcommand{\ActionWpsContext}{Long \ButtonSelect} 40\newcommand{\ActionWpsContext}{Long \ButtonSelect}
41\newcommand{\ActionWpsBrowse}{\ButtonSelect} 41\newcommand{\ActionWpsBrowse}{\ButtonSelect}
42\newcommand{\ActionWpsPitchScreen}{Long \ButtonUp} 42\newcommand{\ActionWpsPitchScreen}{Long \ButtonUp}
43\newcommand{\ActionWpsPlaylist}{Long \ButtonDown} 43\newcommand{\ActionWpsPlaylist}{\ButtonDown}
44\newcommand{\ActionWpsIdThreeScreen}{\ButtonSelect{} + \ButtonDown} 44\newcommand{\ActionWpsIdThreeScreen}{\ButtonSelect{} + \ButtonDown}
45\newcommand{\ActionWpsHotkey}{\ButtonDown} 45\newcommand{\ActionWpsHotkey}{Long \ButtonDown}
46 46
47\newcommand{\ActionWpsAbSetBNextDir}{\ButtonPower{} + \ButtonRight} 47\newcommand{\ActionWpsAbSetBNextDir}{\ButtonPower{} + \ButtonRight}
48\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonPower{} + \ButtonLeft} 48\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonPower{} + \ButtonLeft}