diff options
author | Dana Conrad <dconrad@fastmail.com> | 2021-09-05 11:27:33 -0500 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-10-02 10:07:02 -0400 |
commit | d435bb77b57a2c3ec1f3e447101bb6bbb7d163e1 (patch) | |
tree | 347b91540fae3eca7401274274431e55724213a7 /apps/keymaps/keymap-mpio-hd200.c | |
parent | 95b10ac74e7a996b9b1ce7ce88c205e39b67502b (diff) | |
download | rockbox-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-mpio-hd200.c')
-rw-r--r-- | apps/keymaps/keymap-mpio-hd200.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/keymaps/keymap-mpio-hd200.c b/apps/keymaps/keymap-mpio-hd200.c index 71b3190384..019d4bfac4 100644 --- a/apps/keymaps/keymap-mpio-hd200.c +++ b/apps/keymaps/keymap-mpio-hd200.c | |||
@@ -105,8 +105,10 @@ static const struct button_mapping button_context_settings[] = { | |||
105 | static const struct button_mapping button_context_yesno[] = { | 105 | static const struct button_mapping button_context_yesno[] = { |
106 | { ACTION_YESNO_ACCEPT, BUTTON_FUNC, BUTTON_NONE }, | 106 | { ACTION_YESNO_ACCEPT, BUTTON_FUNC, BUTTON_NONE }, |
107 | { ACTION_YESNO_ACCEPT, BUTTON_PLAY, BUTTON_NONE }, | 107 | { ACTION_YESNO_ACCEPT, BUTTON_PLAY, BUTTON_NONE }, |
108 | { ACTION_STD_CANCEL, BUTTON_VOL_UP, BUTTON_NONE }, | ||
109 | { ACTION_STD_CANCEL, BUTTON_VOL_DOWN, BUTTON_NONE }, | ||
108 | 110 | ||
109 | LAST_ITEM_IN_LIST | 111 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) |
110 | }; /* button_context_yesno */ | 112 | }; /* button_context_yesno */ |
111 | 113 | ||
112 | static const struct button_mapping button_context_bmark[] = { | 114 | static const struct button_mapping button_context_bmark[] = { |
@@ -269,7 +271,7 @@ static const struct button_mapping button_rc_context_yesno[] = { | |||
269 | { ACTION_YESNO_ACCEPT, BUTTON_RC_FUNC, BUTTON_NONE }, | 271 | { ACTION_YESNO_ACCEPT, BUTTON_RC_FUNC, BUTTON_NONE }, |
270 | { ACTION_YESNO_ACCEPT, BUTTON_RC_PLAY, BUTTON_NONE }, | 272 | { ACTION_YESNO_ACCEPT, BUTTON_RC_PLAY, BUTTON_NONE }, |
271 | 273 | ||
272 | LAST_ITEM_IN_LIST | 274 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) |
273 | }; /* button_context_yesno */ | 275 | }; /* button_context_yesno */ |
274 | 276 | ||
275 | static const struct button_mapping button_rc_context_radio[] = { | 277 | static const struct button_mapping button_rc_context_radio[] = { |