From 84fe501f53f966894b226172faa50b9fd0d651f5 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Mon, 2 Jan 2023 13:03:48 -0500 Subject: 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 --- apps/plugins/pictureflow/pictureflow.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'apps/plugins/pictureflow') 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 = { static const struct button_mapping* get_context_map(int context) { -#ifdef HAVE_LOCKED_ACTIONS context &= ~CONTEXT_LOCKED; -#endif return pf_contexts[context & ~CONTEXT_PLUGIN]; } -- cgit v1.2.3