summaryrefslogtreecommitdiff
path: root/apps/keymaps/keymap-h10.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/keymaps/keymap-h10.c')
-rw-r--r--apps/keymaps/keymap-h10.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/keymaps/keymap-h10.c b/apps/keymaps/keymap-h10.c
index 904b8c0bbe..c0e5614fcd 100644
--- a/apps/keymaps/keymap-h10.c
+++ b/apps/keymaps/keymap-h10.c
@@ -62,6 +62,12 @@ static const struct button_mapping remote_button_context_standard[] = {
62 LAST_ITEM_IN_LIST 62 LAST_ITEM_IN_LIST
63}; /* remote_button_context_standard */ 63}; /* remote_button_context_standard */
64 64
65static const struct button_mapping button_context_menu[] = {
66 { ACTION_MENU_WPS, BUTTON_PLAY, BUTTON_NONE },
67
68 LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
69}; /* button_context_menu */
70
65static const struct button_mapping button_context_wps[] = { 71static const struct button_mapping button_context_wps[] = {
66 { ACTION_WPS_PLAY, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY }, 72 { ACTION_WPS_PLAY, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY },
67 { ACTION_WPS_STOP, BUTTON_PLAY|BUTTON_REPEAT,BUTTON_PLAY }, 73 { ACTION_WPS_STOP, BUTTON_PLAY|BUTTON_REPEAT,BUTTON_PLAY },
@@ -351,8 +357,9 @@ const struct button_mapping* get_context_mapping(int context)
351 switch (context) 357 switch (context)
352 { 358 {
353 case CONTEXT_STD: 359 case CONTEXT_STD:
354 case CONTEXT_MAINMENU:
355 return button_context_standard; 360 return button_context_standard;
361 case CONTEXT_MAINMENU:
362 return button_context_menu;
356 363
357 case CONTEXT_WPS: 364 case CONTEXT_WPS:
358 return button_context_wps; 365 return button_context_wps;