1
0
Fork 0
forked from len0rd/rockbox

Add soft-keylock to standard context on the x20/x3ii/erosq targets

tap power to lock!

Change-Id: I819c90757a9082eab485828727d76e5ed33a29ed
This commit is contained in:
Solomon Peachy 2021-03-13 22:15:31 -05:00
parent 3d2783f367
commit b44dd11b6b
3 changed files with 3 additions and 0 deletions

View file

@ -42,6 +42,7 @@ static const struct button_mapping button_context_standard[] = {
{ ACTION_STD_CANCEL, BUTTON_BACK, BUTTON_NONE },
{ ACTION_STD_CONTEXT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_MENU },
{ ACTION_STD_MENU, BUTTON_MENU|BUTTON_REL, BUTTON_MENU },
{ ACTION_STD_KEYLOCK, BUTTON_POWER, BUTTON_NONE },
/* ACTION_STD_QUICKSCREEN,
* ACTION_STD_KEYLOCK