diff options
Diffstat (limited to 'apps/keymaps/keymap-player.c')
-rw-r--r-- | apps/keymaps/keymap-player.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/keymaps/keymap-player.c b/apps/keymaps/keymap-player.c index 82508b5c48..80cdedfc3c 100644 --- a/apps/keymaps/keymap-player.c +++ b/apps/keymaps/keymap-player.c | |||
@@ -78,6 +78,12 @@ static const struct button_mapping button_context_tree[] = { | |||
78 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) | 78 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) |
79 | }; /* button_context_listtree */ | 79 | }; /* button_context_listtree */ |
80 | 80 | ||
81 | static const struct button_mapping button_context_menu[] = { | ||
82 | { ACTION_MENU_WPS, BUTTON_ON, BUTTON_NONE }, | ||
83 | |||
84 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) | ||
85 | }; /* button_context_menu */ | ||
86 | |||
81 | static const struct button_mapping button_context_yesno[] = { | 87 | static const struct button_mapping button_context_yesno[] = { |
82 | { ACTION_YESNO_ACCEPT, BUTTON_PLAY, BUTTON_NONE }, | 88 | { ACTION_YESNO_ACCEPT, BUTTON_PLAY, BUTTON_NONE }, |
83 | 89 | ||
@@ -153,9 +159,10 @@ const struct button_mapping* get_context_mapping( int context ) | |||
153 | return button_context_tree; | 159 | return button_context_tree; |
154 | case CONTEXT_BOOKMARKSCREEN: | 160 | case CONTEXT_BOOKMARKSCREEN: |
155 | return button_context_bmark; | 161 | return button_context_bmark; |
162 | case CONTEXT_MAINMENU: | ||
163 | return button_context_menu; | ||
156 | case CONTEXT_STD: | 164 | case CONTEXT_STD: |
157 | case CONTEXT_LIST: | 165 | case CONTEXT_LIST: |
158 | case CONTEXT_MAINMENU: | ||
159 | default: | 166 | default: |
160 | return button_context_standard; | 167 | return button_context_standard; |
161 | } | 168 | } |