1
0
Fork 0
forked from len0rd/rockbox

Add locked actions to all soft lock targets

fiio m3k native is currently the only player with
defined buttons different from the standard
mapping.

This allows the user to use the keyremap plugin
to specify differing keymaps for their device in the locked state

Change-Id: Ie0b447bba0d5978e8d23fed423df30c794afc6f9
This commit is contained in:
William Wilgus 2023-01-02 13:03:48 -05:00
parent a00bd421ac
commit 84fe501f53
21 changed files with 49 additions and 18 deletions

View file

@ -967,9 +967,7 @@ const struct custom_format format_transposed = {
static const struct button_mapping* get_context_map(int context)
{
#ifdef HAVE_LOCKED_ACTIONS
context &= ~CONTEXT_LOCKED;
#endif
return pf_contexts[context & ~CONTEXT_PLUGIN];
}