FS#9875 - [Cowon D2] Enable Track Skipping on Hold Mode

Attached to Project: Rockbox
Opened by Nicolás F. (3amsleep) - Saturday, 07 February 2009, 06:49 GMT
Last edited by Rob Purchase (shotofadds) - Wednesday, 21 October 2009, 21:24 GMT
Task Type Patches
Category User Interface
Status Closed
Assigned To No-one
Operating System Another
Severity Low
Priority Normal
Reported Version Version 3.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


I made a little patch that enables the user to change the tracks while on hold mode by pressing the minus or plus buttons.

Personally I think this feature comes really handy when you're on the street/bus/metro, since you don't have to get the D2 out of your pocket, thus keeping it safe =).
This task depends upon

Closed by  Rob Purchase (shotofadds)
Wednesday, 21 October 2009, 21:24 GMT
Reason for closing:  Out of Date
Additional comments about closing:  Superceded by fs#10683
Comment by Rob Purchase (shotofadds) - Saturday, 14 February 2009, 00:10 GMT
Yes, it's certainly a nice useful feature from the Cowon firmware that's currently missing in Rockbox. There is a slight issue with this patch though, which is that it always maps HOLD+PLUS to MIDRIGHT (etc), so some unintended actions might occur when using screens other than the Now Playing screen.

A neater way to implement this might be to define two new button codes BUTTON_HOLD_PLUS and BUTTON_PLUS_MINUS, and map those to ACTION_WPS_SKIPNEXT (etc) in the WPS section of keymap-cowond2.c. Try it and see...
Comment by Rob Purchase (shotofadds) - Saturday, 14 February 2009, 00:14 GMT
I can't type tonight, clearly I meant BUTTON_HOLD_PLUS and BUTTON_HOLD_MINUS... ;-)
Comment by Rob Purchase (shotofadds) - Wednesday, 18 February 2009, 22:19 GMT
Here's a patch that works in the way I suggested. It "works for me", but I won't commit it yet because the backlight fading behaviour doesn't seem correct when using this function. I'll look into it...
Comment by Johannes Boy (joboy) - Friday, 21 August 2009, 08:52 GMT
There are a bunch of customized configurations over at the iaudiophile forum:
That post includes patches and built binaries, I have no idea which version, though.
Plus, some configs mess around with a lot of files, not only the keymap.
Quoting from the config 5, which I use:
"When in hold mode;
pressing MINUS decreases volume by one,
pressing PLUS increases volume by one,
pressing MENU switches between Play and Pause,
holding MINUS skips back a track,
holding PLUS skips forward a track,
holding MENU advances to the next folder."
IMO the most usable and pretty close to the cowon firmware I believe.