diff options
Diffstat (limited to 'apps/keymaps/keymap-x5.c')
-rw-r--r-- | apps/keymaps/keymap-x5.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/keymaps/keymap-x5.c b/apps/keymaps/keymap-x5.c index 603f9c7568..a8992e4ff8 100644 --- a/apps/keymaps/keymap-x5.c +++ b/apps/keymaps/keymap-x5.c | |||
@@ -232,6 +232,12 @@ const struct button_mapping button_context_keyboard[] = { | |||
232 | 232 | ||
233 | LAST_ITEM_IN_LIST | 233 | LAST_ITEM_IN_LIST |
234 | }; /* button_context_keyboard */ | 234 | }; /* button_context_keyboard */ |
235 | const struct button_mapping button_context_bmark[] = { | ||
236 | { ACTION_BMS_DELETE, BUTTON_REC|BUTTON_REPEAT, BUTTON_NONE }, | ||
237 | { ACTION_BMS_SELECT, BUTTON_SELECT, BUTTON_NONE }, | ||
238 | { ACTION_BMS_EXIT, BUTTON_REC|BUTTON_REL, BUTTON_NONE }, | ||
239 | LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_CUSTOM|CONTEXT_SETTINGS), | ||
240 | }; /* button_context_settings_bmark */ | ||
235 | 241 | ||
236 | static const struct button_mapping* get_context_mapping_remote( int context ) | 242 | static const struct button_mapping* get_context_mapping_remote( int context ) |
237 | { | 243 | { |
@@ -277,7 +283,7 @@ const struct button_mapping* get_context_mapping( int context ) | |||
277 | case CONTEXT_TREE: | 283 | case CONTEXT_TREE: |
278 | if (global_settings.hold_lr_for_scroll_in_list) | 284 | if (global_settings.hold_lr_for_scroll_in_list) |
279 | return button_context_tree_scroll_lr; | 285 | return button_context_tree_scroll_lr; |
280 | /* else fall through to CUSTOM|1 */ | 286 | /* else fall through to CUSTOM|CONTEXT_TREE */ |
281 | case CONTEXT_CUSTOM|CONTEXT_TREE | 287 | case CONTEXT_CUSTOM|CONTEXT_TREE |
282 | : | 288 | : |
283 | return button_context_tree; | 289 | return button_context_tree; |