From 1d69db7355dc7e3cbabc3c1c949e5d6ba3863405 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Thu, 5 Oct 2006 10:34:40 +0000 Subject: fix the wps context menu, and re-add page up/down in the tree for the recorder git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11128 a1c6a512-1295-4272-9138-f99709370657 --- apps/keymaps/keymap-recorder.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'apps/keymaps') diff --git a/apps/keymaps/keymap-recorder.c b/apps/keymaps/keymap-recorder.c index c111af91d8..718fddf888 100644 --- a/apps/keymaps/keymap-recorder.c +++ b/apps/keymaps/keymap-recorder.c @@ -57,7 +57,7 @@ static const struct button_mapping button_context_standard[] = { }; static const struct button_mapping button_context_wps[] = { - { ACTION_WPS_PLAY, BUTTON_PLAY, BUTTON_NONE }, + { ACTION_WPS_PLAY, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY }, { ACTION_WPS_SKIPNEXT, BUTTON_RIGHT|BUTTON_REL, BUTTON_RIGHT }, { ACTION_WPS_SKIPPREV, BUTTON_LEFT|BUTTON_REL, BUTTON_LEFT }, { ACTION_WPS_SEEKBACK, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE }, @@ -97,9 +97,15 @@ static const struct button_mapping button_context_settings[] = { }; static const struct button_mapping button_context_tree[] = { - { ACTION_TREE_WPS, BUTTON_ON, BUTTON_NONE }, - { ACTION_TREE_STOP, BUTTON_OFF, BUTTON_NONE }, - + { ACTION_TREE_WPS, BUTTON_ON|BUTTON_REL, BUTTON_ON }, + { ACTION_TREE_STOP, BUTTON_OFF, BUTTON_NONE }, + { ACTION_NONE, BUTTON_ON, BUTTON_NONE }, + { ACTION_LISTTREE_PGUP, BUTTON_ON|BUTTON_UP, BUTTON_ON }, + { ACTION_LISTTREE_PGUP, BUTTON_UP|BUTTON_REL, BUTTON_ON|BUTTON_UP }, + { ACTION_LISTTREE_PGUP, BUTTON_ON|BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE }, + { ACTION_LISTTREE_PGDOWN, BUTTON_ON|BUTTON_DOWN, BUTTON_ON }, + { ACTION_LISTTREE_PGDOWN, BUTTON_DOWN|BUTTON_REL, BUTTON_ON|BUTTON_DOWN }, + { ACTION_LISTTREE_PGDOWN, BUTTON_ON|BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE }, LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) }; /* button_context_listtree */ -- cgit v1.2.3