diff options
Diffstat (limited to 'apps/keymaps/keymap-e200.c')
-rw-r--r-- | apps/keymaps/keymap-e200.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/keymaps/keymap-e200.c b/apps/keymaps/keymap-e200.c index a990e9cd1b..932613d5f2 100644 --- a/apps/keymaps/keymap-e200.c +++ b/apps/keymaps/keymap-e200.c | |||
@@ -48,6 +48,12 @@ static const struct button_mapping button_context_standard[] = { | |||
48 | LAST_ITEM_IN_LIST | 48 | LAST_ITEM_IN_LIST |
49 | }; /* button_context_standard */ | 49 | }; /* button_context_standard */ |
50 | 50 | ||
51 | static const struct button_mapping button_context_menu[] = { | ||
52 | { ACTION_MENU_WPS, BUTTON_UP, BUTTON_NONE }, | ||
53 | |||
54 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) | ||
55 | }; /* button_context_menu */ | ||
56 | |||
51 | static const struct button_mapping button_context_wps[] = { | 57 | static const struct button_mapping button_context_wps[] = { |
52 | { ACTION_WPS_PLAY, BUTTON_UP|BUTTON_REL, BUTTON_UP }, | 58 | { ACTION_WPS_PLAY, BUTTON_UP|BUTTON_REL, BUTTON_UP }, |
53 | { ACTION_WPS_STOP, BUTTON_UP|BUTTON_REPEAT, BUTTON_UP }, | 59 | { ACTION_WPS_STOP, BUTTON_UP|BUTTON_REPEAT, BUTTON_UP }, |
@@ -228,8 +234,9 @@ const struct button_mapping* get_context_mapping(int context) | |||
228 | switch (context) | 234 | switch (context) |
229 | { | 235 | { |
230 | case CONTEXT_STD: | 236 | case CONTEXT_STD: |
231 | case CONTEXT_MAINMENU: | ||
232 | return button_context_standard; | 237 | return button_context_standard; |
238 | case CONTEXT_MAINMENU: | ||
239 | return button_context_menu; | ||
233 | 240 | ||
234 | case CONTEXT_WPS: | 241 | case CONTEXT_WPS: |
235 | return button_context_wps; | 242 | return button_context_wps; |