mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
a00bd421ac
commit
84fe501f53
21 changed files with 49 additions and 18 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue