diff options
author | William Wilgus <wilgus.william@gmail.com> | 2023-01-02 13:03:48 -0500 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2023-01-02 13:19:43 -0500 |
commit | 84fe501f53f966894b226172faa50b9fd0d651f5 (patch) | |
tree | a955f18a80d2dd4591d64899ee1d78ea8dc214e3 /apps/plugins/pictureflow/pictureflow.c | |
parent | a00bd421acc0fc11588f0494be2bb532dc93d904 (diff) | |
download | rockbox-84fe501f53f966894b226172faa50b9fd0d651f5.tar.gz rockbox-84fe501f53f966894b226172faa50b9fd0d651f5.zip |
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
Diffstat (limited to 'apps/plugins/pictureflow/pictureflow.c')
-rw-r--r-- | apps/plugins/pictureflow/pictureflow.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c index a7a0031391..54497d8306 100644 --- a/apps/plugins/pictureflow/pictureflow.c +++ b/apps/plugins/pictureflow/pictureflow.c | |||
@@ -967,9 +967,7 @@ const struct custom_format format_transposed = { | |||
967 | 967 | ||
968 | static const struct button_mapping* get_context_map(int context) | 968 | static const struct button_mapping* get_context_map(int context) |
969 | { | 969 | { |
970 | #ifdef HAVE_LOCKED_ACTIONS | ||
971 | context &= ~CONTEXT_LOCKED; | 970 | context &= ~CONTEXT_LOCKED; |
972 | #endif | ||
973 | return pf_contexts[context & ~CONTEXT_PLUGIN]; | 971 | return pf_contexts[context & ~CONTEXT_PLUGIN]; |
974 | } | 972 | } |
975 | 973 | ||