mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
keymap: erosq: fix keylock button handling
Only react to Power button release if previous button code was Power button press, so that screen doesn't lock when device may have just been turned on Change-Id: I1ba228103efedeeceaaa00c49b1b1da66b63bb75
This commit is contained in:
parent
f123dbc04a
commit
292e8a17a2
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ static const struct button_mapping button_context_standard[] = {
|
|||
{ ACTION_STD_CANCEL, BUTTON_BACK|BUTTON_REL, BUTTON_BACK },
|
||||
{ ACTION_STD_CONTEXT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_MENU },
|
||||
{ ACTION_STD_MENU, BUTTON_MENU|BUTTON_REL, BUTTON_MENU },
|
||||
{ ACTION_STD_KEYLOCK, BUTTON_POWER|BUTTON_REL, BUTTON_NONE },
|
||||
{ ACTION_STD_KEYLOCK, BUTTON_POWER|BUTTON_REL, BUTTON_POWER},
|
||||
|
||||
LAST_ITEM_IN_LIST
|
||||
}; /* button_context_standard */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue