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/action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/action.c') 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) int context = cur->context; cur->is_prebutton = false; -#if defined(HAVE_LOCKED_ACTIONS) && !defined(HAS_BUTTON_HOLD) +#if !defined(HAS_BUTTON_HOLD) && !defined(BOOTLOADER) /* This only applies to the first context, to allow locked contexts to * specify a fall through to their non-locked version */ if (is_keys_locked()) -- cgit v1.2.3