summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorDana Conrad <dconrad@fastmail.com>2021-08-23 18:43:25 -0500
committerSolomon Peachy <pizza@shaftnet.org>2021-08-31 18:59:42 +0000
commitd929444a413007244155e88bf87e7c75f0d2da30 (patch)
tree09a74874a9163c75335b1d328d1ffccec070676f /apps
parentc11ed99cb453af968493018e1b83606423d9b9a0 (diff)
iPod: Fix Yes/No Keymap
Add fallback to CONTEXT_STD and add explicit Play button cancel - Play button is not present in standard context, so it won't do anything if unknown actions are ignored. tested on ipod simulator Change-Id: Ic259fa97b6195ebbc66fcfae31265cc7aeefa421
Diffstat (limited to 'apps')
-rw-r--r--apps/keymaps/keymap-ipod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/keymaps/keymap-ipod.c b/apps/keymaps/keymap-ipod.c
index ca52b6b216..e3a17fffba 100644
--- a/apps/keymaps/keymap-ipod.c
+++ b/apps/keymaps/keymap-ipod.c
@@ -114,7 +114,8 @@ static const struct button_mapping button_context_settings[] = {
static const struct button_mapping button_context_yesno[] = {
{ ACTION_YESNO_ACCEPT, BUTTON_SELECT, BUTTON_NONE },
- LAST_ITEM_IN_LIST
+ { ACTION_STD_CANCEL, BUTTON_PLAY, BUTTON_NONE },
+ LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
}; /* button_context_yesno */
static const struct button_mapping button_context_bmark[] = {