summaryrefslogtreecommitdiff
path: root/apps/keymaps/keymap-x5.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2006-08-23 08:53:38 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2006-08-23 08:53:38 +0000
commit2e3cfafa0b1c74ec98893c07e2adf601e3501493 (patch)
tree1d2b76b078d7412bf26d53136b7f784c8354473a /apps/keymaps/keymap-x5.c
parenteed923ec831646f1cd705118199814e0fe33efbf (diff)
fixed the bookmark screen keys
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10714 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/keymaps/keymap-x5.c')
-rw-r--r--apps/keymaps/keymap-x5.c8
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[] = {
LAST_ITEM_IN_LIST
}; /* button_context_keyboard */
+const struct button_mapping button_context_bmark[] = {
+ { ACTION_BMS_DELETE, BUTTON_REC|BUTTON_REPEAT, BUTTON_NONE },
+ { ACTION_BMS_SELECT, BUTTON_SELECT, BUTTON_NONE },
+ { ACTION_BMS_EXIT, BUTTON_REC|BUTTON_REL, BUTTON_NONE },
+ LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_CUSTOM|CONTEXT_SETTINGS),
+}; /* button_context_settings_bmark */
static const struct button_mapping* get_context_mapping_remote( int context )
{
@@ -277,7 +283,7 @@ const struct button_mapping* get_context_mapping( int context )
case CONTEXT_TREE:
if (global_settings.hold_lr_for_scroll_in_list)
return button_context_tree_scroll_lr;
- /* else fall through to CUSTOM|1 */
+ /* else fall through to CUSTOM|CONTEXT_TREE */
case CONTEXT_CUSTOM|CONTEXT_TREE
:
return button_context_tree;