summaryrefslogtreecommitdiff
path: root/apps/action.c
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2023-01-02 13:03:48 -0500
committerWilliam Wilgus <wilgus.william@gmail.com>2023-01-02 13:19:43 -0500
commit84fe501f53f966894b226172faa50b9fd0d651f5 (patch)
treea955f18a80d2dd4591d64899ee1d78ea8dc214e3 /apps/action.c
parenta00bd421acc0fc11588f0494be2bb532dc93d904 (diff)
downloadrockbox-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/action.c')
-rw-r--r--apps/action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/action.c b/apps/action.c
index 392f2c344c..20145a5bc1 100644
--- a/apps/action.c
+++ b/apps/action.c
@@ -595,7 +595,7 @@ static inline void action_code_lookup(action_last_t *last, action_cur_t *cur)
595 int context = cur->context; 595 int context = cur->context;
596 cur->is_prebutton = false; 596 cur->is_prebutton = false;
597 597
598#if defined(HAVE_LOCKED_ACTIONS) && !defined(HAS_BUTTON_HOLD) 598#if !defined(HAS_BUTTON_HOLD) && !defined(BOOTLOADER)
599 /* This only applies to the first context, to allow locked contexts to 599 /* This only applies to the first context, to allow locked contexts to
600 * specify a fall through to their non-locked version */ 600 * specify a fall through to their non-locked version */
601 if (is_keys_locked()) 601 if (is_keys_locked())