mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Sansa Clip keymap: Playlist on short Down press and Hotkey on long Down press in WPS
Change-Id: I39a01df90b658d76b9cf2f94d9a81a4f7ff076cf
This commit is contained in:
parent
3acd5f86e5
commit
f2a5b78b51
2 changed files with 4 additions and 4 deletions
|
@ -84,9 +84,9 @@ static const struct button_mapping button_context_wps[] = {
|
||||||
{ ACTION_WPS_ID3SCREEN, BUTTON_SELECT|BUTTON_DOWN, BUTTON_SELECT },
|
{ ACTION_WPS_ID3SCREEN, BUTTON_SELECT|BUTTON_DOWN, BUTTON_SELECT },
|
||||||
|
|
||||||
#ifdef HAVE_HOTKEY /* down|repeat doesn't work in the file browser */
|
#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
|
#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+ */
|
#ifndef HAS_BUTTON_HOLD /* Clip+ */
|
||||||
{ ACTION_STD_KEYLOCK, BUTTON_HOME|BUTTON_SELECT, BUTTON_NONE },
|
{ ACTION_STD_KEYLOCK, BUTTON_HOME|BUTTON_SELECT, BUTTON_NONE },
|
||||||
|
|
|
@ -40,9 +40,9 @@
|
||||||
\newcommand{\ActionWpsContext}{Long \ButtonSelect}
|
\newcommand{\ActionWpsContext}{Long \ButtonSelect}
|
||||||
\newcommand{\ActionWpsBrowse}{\ButtonSelect}
|
\newcommand{\ActionWpsBrowse}{\ButtonSelect}
|
||||||
\newcommand{\ActionWpsPitchScreen}{Long \ButtonUp}
|
\newcommand{\ActionWpsPitchScreen}{Long \ButtonUp}
|
||||||
\newcommand{\ActionWpsPlaylist}{Long \ButtonDown}
|
\newcommand{\ActionWpsPlaylist}{\ButtonDown}
|
||||||
\newcommand{\ActionWpsIdThreeScreen}{\ButtonSelect{} + \ButtonDown}
|
\newcommand{\ActionWpsIdThreeScreen}{\ButtonSelect{} + \ButtonDown}
|
||||||
\newcommand{\ActionWpsHotkey}{\ButtonDown}
|
\newcommand{\ActionWpsHotkey}{Long \ButtonDown}
|
||||||
|
|
||||||
\newcommand{\ActionWpsAbSetBNextDir}{\ButtonPower{} + \ButtonRight}
|
\newcommand{\ActionWpsAbSetBNextDir}{\ButtonPower{} + \ButtonRight}
|
||||||
\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonPower{} + \ButtonLeft}
|
\newcommand{\ActionWpsAbSetAPrevDir}{\ButtonPower{} + \ButtonLeft}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue