summaryrefslogtreecommitdiff
path: root/apps/keymaps/keymap-x5.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/keymaps/keymap-x5.c')
-rw-r--r--apps/keymaps/keymap-x5.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/apps/keymaps/keymap-x5.c b/apps/keymaps/keymap-x5.c
index 1c88244053..b637e1ddd1 100644
--- a/apps/keymaps/keymap-x5.c
+++ b/apps/keymaps/keymap-x5.c
@@ -131,13 +131,6 @@ static const struct button_mapping remote_button_context_keyboard[] = {
131 LAST_ITEM_IN_LIST 131 LAST_ITEM_IN_LIST
132}; /* button_context_keyboard_h100remote */ 132}; /* button_context_keyboard_h100remote */
133 133
134/** Main Menu Context Menu **/
135static const struct button_mapping button_context_mainmenu[] = {
136 { ACTION_NONE, BUTTON_POWER, BUTTON_NONE },
137 { ACTION_MENU_WPS, BUTTON_PLAY, BUTTON_NONE },
138 LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD)
139}; /* button_context_mainmenu */
140
141static const struct button_mapping remote_button_context_mainmenu[] = { 134static const struct button_mapping remote_button_context_mainmenu[] = {
142 { ACTION_STD_CANCEL, BUTTON_RC_VOL_DOWN, BUTTON_NONE }, 135 { ACTION_STD_CANCEL, BUTTON_RC_VOL_DOWN, BUTTON_NONE },
143 { ACTION_STD_OK, BUTTON_RC_VOL_UP, BUTTON_NONE }, 136 { ACTION_STD_OK, BUTTON_RC_VOL_UP, BUTTON_NONE },
@@ -412,8 +405,6 @@ const struct button_mapping* get_context_mapping( int context )
412 case CONTEXT_KEYBOARD: 405 case CONTEXT_KEYBOARD:
413 return button_context_keyboard; 406 return button_context_keyboard;
414 407
415 case CONTEXT_MAINMENU:
416 return button_context_mainmenu;
417 408
418 case CONTEXT_PITCHSCREEN: 409 case CONTEXT_PITCHSCREEN:
419 return button_context_pitchscreen; 410 return button_context_pitchscreen;
@@ -435,6 +426,7 @@ const struct button_mapping* get_context_mapping( int context )
435 return button_context_settings_time; 426 return button_context_settings_time;
436 427
437 case CONTEXT_TREE: 428 case CONTEXT_TREE:
429 case CONTEXT_MAINMENU:
438 if (global_settings.hold_lr_for_scroll_in_list) 430 if (global_settings.hold_lr_for_scroll_in_list)
439 return button_context_tree_scroll_lr; 431 return button_context_tree_scroll_lr;
440 /* else fall through to CONTEXT_TREE|CONTEXT_CUSTOM */ 432 /* else fall through to CONTEXT_TREE|CONTEXT_CUSTOM */