A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd

Shanling Q1: minor update to keymap

- Enable repeat for prev/next keys
- Provide a way to access the context menu using buttons
- Update the manual

Change-Id: I53a7474cc64f915851175aea0695229c581fd8a6

+6 -4
+3 -1
apps/keymaps/keymap-shanlingq1.c
··· 30 30 31 31 static const struct button_mapping button_context_standard[] = { 32 32 {ACTION_STD_PREV, BUTTON_PREV, BUTTON_NONE}, 33 + {ACTION_STD_PREVREPEAT, BUTTON_PREV|BUTTON_REPEAT, BUTTON_NONE}, 33 34 {ACTION_STD_NEXT, BUTTON_NEXT, BUTTON_NONE}, 35 + {ACTION_STD_NEXTREPEAT, BUTTON_NEXT|BUTTON_REPEAT, BUTTON_NONE}, 34 36 {ACTION_STD_OK, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY}, 37 + {ACTION_STD_CONTEXT, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_PLAY}, 35 38 {ACTION_STD_CANCEL, BUTTON_POWER|BUTTON_REL, BUTTON_POWER}, 36 39 LAST_ITEM_IN_LIST 37 40 }; /* button_context_standard */ ··· 77 80 case CONTEXT_CUSTOM|CONTEXT_TREE: 78 81 case CONTEXT_MAINMENU: 79 82 case CONTEXT_BOOKMARKSCREEN: 80 - //return button_context_tree; 81 83 case CONTEXT_LIST: 82 84 return button_context_list; 83 85 case CONTEXT_YESNOSCREEN:
+3 -3
manual/platform/keymap-shanlingq1.tex
··· 13 13 \newcommand{\ActionStdNext}{\ButtonNext{} or \TouchActionStdNext} 14 14 \newcommand{\ActionStdNextRepeat}{Long \ButtonNext{} or \TouchActionStdNextRepeat} 15 15 \newcommand{\ActionStdCancel}{\ButtonPower{} or \TouchActionStdCancel} 16 - \newcommand{\ActionStdContext}{\TouchActionStdContext} 16 + \newcommand{\ActionStdContext}{Long \ButtonPlay{} or \TouchActionStdContext} 17 17 \newcommand{\ActionStdQuickScreen}{\TouchActionStdQuickScreen} 18 18 \newcommand{\ActionQuickScreenExit}{\TouchActionQuickScreenExit} 19 19 \newcommand{\ActionStdMenu}{\TouchActionStdMenu} ··· 47 47 \newcommand{\ActionTreeParentDirectory}{\TouchActionTreeParentDirectory} 48 48 49 49 %Button actions, YesNo context 50 - \newcommand{\ActionYesNoAccept}{\TouchActionYesNoAccept} 50 + \newcommand{\ActionYesNoAccept}{\ButtonPlay} 51 51 52 52 %Button actions, Virtual Keyboard Context 53 53 \newcommand{\ActionKbdLeft}{\TouchActionKbdLeft} ··· 83 83 \newcommand{\PluginDown}{\TouchBottomMiddle} 84 84 \newcommand{\PluginLeft}{\TouchMidLeft} 85 85 \newcommand{\PluginRight}{\TouchMidRight} 86 - \newcommand{\PluginCancel}{\ButtonPower or \TouchBottomRight} 86 + \newcommand{\PluginCancel}{\ButtonPower{} or \TouchBottomRight} 87 87 \newcommand{\PluginExit}{\ButtonPower} 88 88 \newcommand{\PluginSelect}{\TouchCenter} 89 89 \newcommand{\PluginSelectRepeat}{Long \TouchCenter}