Support and General Use > User Interface and Voice

Long right for track skip, short for skip length (editing source)

(1/1)

jamus28:
I like rockbox on my sansa Clip+, but this particular button layout isn't working for me at all. I've been playing with the source on my linux setup.
In settings, the skip length for a short click is customizable.
FF/Rewind can (long press) is only customizable as to the fastfoward speeds. Also, FF slows down to a stop near the end of track.


I would like a short click of the right button to skip 5 seconds, and a long press to skip tracks.
What's the best way to achieve my goal?
ACTION_WPS_SKIPNEXT will respond to my custom skip_length, but I need a separate command for the long press.

Thanks.

saratoga:
Not sure if I fully understand, but:


--- Code: ---
     { ACTION_WPS_SEEKFWD,  BUTTON_RIGHT|BUTTON_REL, BUTTON_NONE },
     { ACTION_WPS_SKIPNEXT, BUTTON_RIGHT|BUTTON_REL,    BUTTON_RIGHT|BUTTON_REPEAT },
--- End code ---

jamus28:
That's a good thought, but not quite what I had in mind. That would make the short press start a fastfoward. Except, I would like it to just skip 5 seconds ahead.

Navigation

[0] Message Index

Go to full version