diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2006-10-05 10:34:40 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2006-10-05 10:34:40 +0000 |
commit | 1d69db7355dc7e3cbabc3c1c949e5d6ba3863405 (patch) | |
tree | e812b7bd958cc06a1548f46d83cc7001b2105d28 /apps/keymaps | |
parent | 519c486fc0220beb100e0f29caddd301b97d0792 (diff) |
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
Diffstat (limited to 'apps/keymaps')
-rw-r--r-- | apps/keymaps/keymap-recorder.c | 14 |
1 files changed, 10 insertions, 4 deletions
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 */ |