summaryrefslogtreecommitdiff
path: root/apps/keymaps/keymap-hm60x.c
diff options
context:
space:
mode:
authorDana Conrad <dconrad@fastmail.com>2021-09-05 11:27:33 -0500
committerAidan MacDonald <amachronic@protonmail.com>2021-10-02 10:07:02 -0400
commitd435bb77b57a2c3ec1f3e447101bb6bbb7d163e1 (patch)
tree347b91540fae3eca7401274274431e55724213a7 /apps/keymaps/keymap-hm60x.c
parent95b10ac74e7a996b9b1ce7ce88c205e39b67502b (diff)
downloadrockbox-d435bb77b57a2c3ec1f3e447101bb6bbb7d163e1.tar.gz
rockbox-d435bb77b57a2c3ec1f3e447101bb6bbb7d163e1.zip
Yes/No Screen Keymap: add fallbacks to targets lacking them
With the addition of ignoring unknown actions to the yes/no screen, several (mostly older) targets won't have keys defined to cancel out of the yes/no screen. Adding fallbacks to standard context to correct this. Targets: Shanling Q1 - changed, untested (doesn't appear sim has buttons mapped) Sansa Connect - changed, untested (can't figure out sim keys) HM60x - changed, untested (sim won't build) HM801 - changed, untested (sim won't build) ihifi - changed, untested (sim won't build) MA - changed, untested (sim won't build) M3 - changed, tested on sim X5 - changed, tested on sim MPIO HD300 - changed, sim tested MPIO HD200 - changed, sim tested (remote not tested) Vibe 500 - changed, sim tested Change-Id: Ib5290ada8e12bb845d3840e481e8533515b42e95
Diffstat (limited to 'apps/keymaps/keymap-hm60x.c')
-rw-r--r--apps/keymaps/keymap-hm60x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/keymaps/keymap-hm60x.c b/apps/keymaps/keymap-hm60x.c
index 1050ec7f31..2e1f3dd516 100644
--- a/apps/keymaps/keymap-hm60x.c
+++ b/apps/keymaps/keymap-hm60x.c
@@ -176,7 +176,7 @@ static const struct button_mapping button_context_tree_scroll_lr[] = {
176/** Yes/No Screen **/ 176/** Yes/No Screen **/
177static const struct button_mapping button_context_yesnoscreen[] = { 177static const struct button_mapping button_context_yesnoscreen[] = {
178 { ACTION_YESNO_ACCEPT, BUTTON_SELECT, BUTTON_NONE }, 178 { ACTION_YESNO_ACCEPT, BUTTON_SELECT, BUTTON_NONE },
179 LAST_ITEM_IN_LIST 179 LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
180}; /* button_context_settings_yesnoscreen */ 180}; /* button_context_settings_yesnoscreen */
181 181
182/* get_context_mapping returns a pointer to one of the above defined arrays depending on the context */ 182/* get_context_mapping returns a pointer to one of the above defined arrays depending on the context */