Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

zenxfi2: rework keymap to add softlock

Map power button to soft key lock in WPS and radio screen, also
correct fallback of WPS.

Change-Id: If257e4b4f9f37848ba9f81dc2e8b52f020d4cde0

+4 -2
+4 -2
apps/keymaps/keymap-zenxfi2.c
··· 44 44 45 45 { ACTION_STD_CONTEXT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_MENU }, 46 46 47 + 47 48 LAST_ITEM_IN_LIST 48 49 }; /* button_context_standard */ 49 50 ··· 51 52 static const struct button_mapping button_context_wps[] = { 52 53 { ACTION_WPS_MENU, BUTTON_MENU|BUTTON_REL, BUTTON_MENU }, 53 54 { ACTION_WPS_CONTEXT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_MENU }, 55 + { ACTION_STD_KEYLOCK, BUTTON_POWER, BUTTON_NONE }, 54 56 55 - LAST_ITEM_IN_LIST 57 + LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) 56 58 }; /* button_context_wps */ 57 59 58 60 static const struct button_mapping button_context_list[] = { ··· 128 130 static const struct button_mapping button_context_radio[] = { 129 131 { ACTION_FM_MENU, BUTTON_MENU|BUTTON_REL, BUTTON_NONE }, 130 132 { ACTION_FM_PRESET, BUTTON_MENU|BUTTON_REPEAT, BUTTON_NONE }, 131 - { ACTION_FM_STOP, BUTTON_POWER, BUTTON_NONE }, 133 + { ACTION_STD_KEYLOCK, BUTTON_POWER, BUTTON_NONE }, 132 134 133 135 LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_SETTINGS) 134 136 }; /* button_context_radio */