mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05: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
|
|
@ -196,12 +196,15 @@ const struct button_mapping* get_context_mapping(int context)
|
|||
{
|
||||
switch (context)
|
||||
{
|
||||
case CONTEXT_STD | CONTEXT_LOCKED:
|
||||
case CONTEXT_STD:
|
||||
return button_context_standard;
|
||||
|
||||
case CONTEXT_WPS | CONTEXT_LOCKED:
|
||||
case CONTEXT_WPS:
|
||||
return button_context_wps;
|
||||
|
||||
case CONTEXT_MAINMENU | CONTEXT_LOCKED:
|
||||
case CONTEXT_MAINMENU:
|
||||
return button_context_mainmenu;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue