forked from len0rd/rockbox
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
|
@ -53,13 +53,13 @@ struct context_flags {
|
|||
/* flags added to context_name[] */
|
||||
static struct context_flags context_flags[] = {
|
||||
{"UNKNOWN", 0},/* index 0 is an Error */
|
||||
#ifdef HAVE_LOCKED_ACTIONS
|
||||
#ifndef HAS_BUTTON_HOLD
|
||||
{"LOCKED", CONTEXT_LOCKED},
|
||||
#endif
|
||||
/*{"PLUGIN", CONTEXT_PLUGIN}, need a custom action list and a way to supply */
|
||||
#if BUTTON_REMOTE != 0
|
||||
{"REMOTE", CONTEXT_REMOTE},
|
||||
#ifdef HAVE_LOCKED_ACTIONS
|
||||
#ifndef HAS_BUTTON_HOLD
|
||||
{"REMOTE_LOCKED", CONTEXT_REMOTE | CONTEXT_LOCKED},
|
||||
#endif
|
||||
#endif /* BUTTON_REMOTE != 0 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue