diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-04-08 01:33:01 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-04-08 01:33:01 +0000 |
| commit | a053e58894292e1f12e4af578b9948da9cbdf76c (patch) | |
| tree | d33f0888cb551dff27088c872065f338f3648f04 /apps/keymaps/keymap-recorder.c | |
| parent | eef96946e1e962473e9049005eec2b2d0b2f8463 (diff) | |
| download | rockbox-a053e58894292e1f12e4af578b9948da9cbdf76c.zip rockbox-a053e58894292e1f12e4af578b9948da9cbdf76c.tar.gz rockbox-a053e58894292e1f12e4af578b9948da9cbdf76c.tar.bz2 rockbox-a053e58894292e1f12e4af578b9948da9cbdf76c.tar.xz | |
minor actions cleanup:
- CONTEXT_MAINMENU is not actually needed, use CONTEXT_TREE which does the same actions
- (gigabeat) use vol+/- in the lists to control volume (every list!) (FS#6982 in a better way)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13062 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/keymaps/keymap-recorder.c')
| -rw-r--r-- | apps/keymaps/keymap-recorder.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/apps/keymaps/keymap-recorder.c b/apps/keymaps/keymap-recorder.c index fc781af..6f9aff6 100644 --- a/apps/keymaps/keymap-recorder.c +++ b/apps/keymaps/keymap-recorder.c @@ -112,12 +112,6 @@ static const struct button_mapping button_context_tree[] = { LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) }; /* button_context_listtree */ -static const struct button_mapping button_context_menu[] = { - { ACTION_MENU_WPS, BUTTON_ON|BUTTON_REL, BUTTON_ON }, - { ACTION_MENU_STOP, BUTTON_OFF, BUTTON_NONE }, - { ACTION_NONE, BUTTON_ON, BUTTON_NONE }, - LAST_ITEM_IN_LIST__NEXTLIST(CONTEXT_STD) -}; /* button_context_listtree */ static const struct button_mapping button_context_tree_scroll_lr[] = { { ACTION_NONE, BUTTON_LEFT, BUTTON_NONE }, @@ -290,6 +284,7 @@ const struct button_mapping* get_context_mapping( int context ) case CONTEXT_BOOKMARKSCREEN: return button_context_bmark; case CONTEXT_TREE: + case CONTEXT_MAINMENU: if (global_settings.hold_lr_for_scroll_in_list) return button_context_tree_scroll_lr; /* else fall through to CUSTOM|1 */ @@ -306,8 +301,6 @@ const struct button_mapping* get_context_mapping( int context ) case CONTEXT_FM: return button_context_radio; - case CONTEXT_MAINMENU: - return button_context_menu; case CONTEXT_STD: case CONTEXT_LIST: default: |