diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2021-03-13 22:15:31 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2021-03-13 22:17:26 -0500 |
commit | b44dd11b6b3104dfaf0724125452c13789f76119 (patch) | |
tree | 3d25de352b97c1df08a90d8d91f59259d450667f | |
parent | 3d2783f3679171eef785da5d51fcb50954f15119 (diff) | |
download | rockbox-b44dd11b6b3104dfaf0724125452c13789f76119.tar.gz rockbox-b44dd11b6b3104dfaf0724125452c13789f76119.zip |
Add soft-keylock to standard context on the x20/x3ii/erosq targets
tap power to lock!
Change-Id: I819c90757a9082eab485828727d76e5ed33a29ed
-rw-r--r-- | apps/keymaps/keymap-erosq.c | 1 | ||||
-rw-r--r-- | apps/keymaps/keymap-xduoox20.c | 1 | ||||
-rw-r--r-- | apps/keymaps/keymap-xduoox3ii.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/apps/keymaps/keymap-erosq.c b/apps/keymaps/keymap-erosq.c index 0a18fc5cf5..e056cbb508 100644 --- a/apps/keymaps/keymap-erosq.c +++ b/apps/keymaps/keymap-erosq.c | |||
@@ -42,6 +42,7 @@ static const struct button_mapping button_context_standard[] = { | |||
42 | { ACTION_STD_CANCEL, BUTTON_BACK, BUTTON_NONE }, | 42 | { ACTION_STD_CANCEL, BUTTON_BACK, BUTTON_NONE }, |
43 | { ACTION_STD_CONTEXT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_MENU }, | 43 | { ACTION_STD_CONTEXT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_MENU }, |
44 | { ACTION_STD_MENU, BUTTON_MENU|BUTTON_REL, BUTTON_MENU }, | 44 | { ACTION_STD_MENU, BUTTON_MENU|BUTTON_REL, BUTTON_MENU }, |
45 | { ACTION_STD_KEYLOCK, BUTTON_POWER, BUTTON_NONE }, | ||
45 | 46 | ||
46 | /* ACTION_STD_QUICKSCREEN, | 47 | /* ACTION_STD_QUICKSCREEN, |
47 | * ACTION_STD_KEYLOCK | 48 | * ACTION_STD_KEYLOCK |
diff --git a/apps/keymaps/keymap-xduoox20.c b/apps/keymaps/keymap-xduoox20.c index 20a53b92e3..c49410cd03 100644 --- a/apps/keymaps/keymap-xduoox20.c +++ b/apps/keymaps/keymap-xduoox20.c | |||
@@ -43,6 +43,7 @@ static const struct button_mapping button_context_standard[] = { | |||
43 | { ACTION_STD_CANCEL, BUTTON_HOME|BUTTON_REL, BUTTON_HOME }, | 43 | { ACTION_STD_CANCEL, BUTTON_HOME|BUTTON_REL, BUTTON_HOME }, |
44 | { ACTION_STD_OK, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY }, | 44 | { ACTION_STD_OK, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY }, |
45 | { ACTION_STD_MENU, BUTTON_OPTION|BUTTON_REL, BUTTON_OPTION }, | 45 | { ACTION_STD_MENU, BUTTON_OPTION|BUTTON_REL, BUTTON_OPTION }, |
46 | { ACTION_STD_KEYLOCK, BUTTON_POWER, BUTTON_NONE }, | ||
46 | 47 | ||
47 | LAST_ITEM_IN_LIST | 48 | LAST_ITEM_IN_LIST |
48 | }; /* button_context_standard */ | 49 | }; /* button_context_standard */ |
diff --git a/apps/keymaps/keymap-xduoox3ii.c b/apps/keymaps/keymap-xduoox3ii.c index d33b9d1f20..c8be8ce13e 100644 --- a/apps/keymaps/keymap-xduoox3ii.c +++ b/apps/keymaps/keymap-xduoox3ii.c | |||
@@ -43,6 +43,7 @@ static const struct button_mapping button_context_standard[] = { | |||
43 | { ACTION_STD_CANCEL, BUTTON_HOME|BUTTON_REL, BUTTON_HOME }, | 43 | { ACTION_STD_CANCEL, BUTTON_HOME|BUTTON_REL, BUTTON_HOME }, |
44 | { ACTION_STD_OK, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY }, | 44 | { ACTION_STD_OK, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY }, |
45 | { ACTION_STD_MENU, BUTTON_OPTION|BUTTON_REL, BUTTON_OPTION }, | 45 | { ACTION_STD_MENU, BUTTON_OPTION|BUTTON_REL, BUTTON_OPTION }, |
46 | { ACTION_STD_KEYLOCK, BUTTON_POWER, BUTTON_NONE }, | ||
46 | 47 | ||
47 | LAST_ITEM_IN_LIST | 48 | LAST_ITEM_IN_LIST |
48 | }; /* button_context_standard */ | 49 | }; /* button_context_standard */ |