diff options
Diffstat (limited to 'apps/keymaps/keymap-ipod.c')
-rw-r--r-- | apps/keymaps/keymap-ipod.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/keymaps/keymap-ipod.c b/apps/keymaps/keymap-ipod.c index 94dd94333d..8b08f0cbd4 100644 --- a/apps/keymaps/keymap-ipod.c +++ b/apps/keymaps/keymap-ipod.c | |||
@@ -60,6 +60,12 @@ static const struct button_mapping button_context_tree[] = { | |||
60 | 60 | ||
61 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) | 61 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) |
62 | }; /* button_context_tree */ | 62 | }; /* button_context_tree */ |
63 | static const struct button_mapping button_context_menu[] = { | ||
64 | { ACTION_MENU_WPS, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY }, | ||
65 | { ACTION_MENU_STOP, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_PLAY }, | ||
66 | |||
67 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) | ||
68 | }; /* button_context_menu */ | ||
63 | 69 | ||
64 | static const struct button_mapping button_context_tree_scroll_lr[] = { | 70 | static const struct button_mapping button_context_tree_scroll_lr[] = { |
65 | { ACTION_NONE, BUTTON_LEFT, BUTTON_NONE }, | 71 | { ACTION_NONE, BUTTON_LEFT, BUTTON_NONE }, |
@@ -191,8 +197,9 @@ const struct button_mapping* get_context_mapping(int context) | |||
191 | return button_context_tree; | 197 | return button_context_tree; |
192 | 198 | ||
193 | case CONTEXT_LIST: | 199 | case CONTEXT_LIST: |
194 | case CONTEXT_MAINMENU: | ||
195 | return button_context_standard; | 200 | return button_context_standard; |
201 | case CONTEXT_MAINMENU: | ||
202 | return button_context_menu; | ||
196 | 203 | ||
197 | case CONTEXT_SETTINGS_EQ: | 204 | case CONTEXT_SETTINGS_EQ: |
198 | case CONTEXT_SETTINGS_COLOURCHOOSER: | 205 | case CONTEXT_SETTINGS_COLOURCHOOSER: |