This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#5294 - Quick exit for menu screen
Attached to Project:
Rockbox
Opened by Alistair Marshall (amar) - Friday, 05 May 2006, 20:44 GMT+1
Last edited by Paul Louden (darkkone) - Wednesday, 07 June 2006, 16:21 GMT+1
Opened by Alistair Marshall (amar) - Friday, 05 May 2006, 20:44 GMT+1
Last edited by Paul Louden (darkkone) - Wednesday, 07 June 2006, 16:21 GMT+1
|
Detailspress play in the menu and it will quit to the previous screen (I have been wanting this for a while, not sure if it counts as a bug though)
Though ATM it is only set up for H300 and H100, it just needs button asignments for the other targets |
This task depends upon
Closed by Steve Bavin (pondlife)
Friday, 02 March 2007, 11:22 GMT+1
Reason for closing: Out of Date
Additional comments about closing: I believe the root menu UI changes have superceded this patch. Re-open if I\'m wrong!
Friday, 02 March 2007, 11:22 GMT+1
Reason for closing: Out of Date
Additional comments about closing: I believe the root menu UI changes have superceded this patch. Re-open if I\'m wrong!
- Play to return to wps
- Stop to stop playback
- Left to go a level up (as it already does)
- Stop to stop playback (personaly I would like the oposet, stop to take you up one level but it doesn't bother me)
- Left to go a level up (as it already does)
amar aka Pi
Please test/post comments thanks
(as before it is atill only maped for the H300 and H100 main unit but adding remot and other targets should be simple
1) Implement a "quick exit" button in the menus - this would (where possible) be the same button used to enter the menu. So for example, on the h1x0 it would be BUTTON_MODE, and on the ipods, BUTTON_MENU.
2) Make the PLAY button resume playback (or take the user to the WPS) in more places in Rockbox - an extension of this patch could be used to implement that in the menus.
i.e. don't try and mix the two features.
OK I have changed the assignments to the same button used to enter the menu and added support to all platforms however the ipods use BUTTON_MENU in the colour picker and in select.h and I don't know what should be used instead. I _think_ remote support should be working now.
I only have an H300 <no remote> so if others could test the other platforms I would be grateful
Press play, if no music is playing it resumes play list, then does a quick return.
Press stop, it stops current playback
Press menu, does a quick return
Buttons mapped on other targets based on the mappings in the file tree
Would appreciate it of people could check on other targets particularly the ONDIO (I have a bad feeling about the stop play in the file tree with that one)
Still not tested on any other targets!
I have added this patch to my experimental builds for h300, but I don't get any special action. Now I can press the A-B button (Menu button I assume) to get one step up, but pressing "Play" does not jump to the WPS screen. Any ideas about this?
Best wishes
Norbert
(for my builds, see http://www.misticriver.net/showthread.php?t=42675
- press rec (short) to enter the playlist. Rockbox is playlist based, and atm switching / showing the playlist is a bit clumsy -- rec doesn't do anything at all atm.
- press rec (long) to enter the recording screen. Not to any importance to me as I seldomly use recording, but it would be nice, and I guess really useful for the users that use recording frequently.
I think this would make the button behavior even more consistent.
(the above does of course only apply on targets with a dedicated rec button, in my case h120)
Anyway here is my patch for "press rec (short) enters current playlist:
But you're right, it doesn't only affect the menu screen so it isn't related only to this task. Maybe we need a new task "make button handling more consistent" if we want to cover all this ideas in a single task (or two different tasks ;-)
Anyone?
menu.c:209: error: `BUTTON_OFF' undeclared (first use in this function)
menu.c:209: error: (Each undeclared identifier is reported only once
menu.c:209: error: for each function it appears in.)
This patch now compiles on all platforms.
Accessing the id3 screen from the context menu (as I'm used to) works without any problems.
If my problems aren't related to your patch, then I suppose I just had more shaky hands today than usual (I was using a build without your patch for some time up to yesterday).
1. Main unit ON will start playback in the menu.
2. Main unit OFF will stop playback in the menu.
The updated keymap generates ACTION_WPS_STOP and ACTION_WPS_PLAY for OFF and ON. I modified menu.c to recognize those actions. I'm not sure whether this is appropriate or whether ACTIONs should have been added to action.h (e.g., ACTION_MENU_PLAY, ACTION_MENU_STOP).
I did not adjust any other keymaps.
NOTE: In CVS HEAD, there is no way to move up a level in the list tree using the remote. I submitted patch 5830 to correct that problem. I did not include that fix in this patch.
The last time I used it I removed some code from the patch that wasn't needed with the new button action system but I don't remember if this was before the last update here or not. Unfortunately I don't have those sources anymore. If you don't get around to it in the next time I might update this patch (only if it is not very difficult and I need to have the time, too)