Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#11213 - Alternative hold mode

Attached to Project: Rockbox
Opened by Ivan Goncharov (Dromok) - Tuesday, 20 April 2010, 22:16 GMT+2
Last edited by Tomer Shalev (tomers) - Wednesday, 21 April 2010, 05:16 GMT+2
Task Type Patches
Category User Interface
Status Unconfirmed
Assigned To No-one
Player Type Cowon D2
Severity Low
Priority Normal
Reported Version Release 3.4
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Private No

Details

This patch implement alternative hold mode, mentioned in FS#10698.
To enter this mode you must:
1) switch hold button to on position(this results in normal hold mode).
2) press menu button.
3) switch hold button to off position
4) release menu button
To leave alternative model:
1) switch hold button to off position
2) press menu button
3)switch hold button to on position
4)release menu button(now you in normal hold mode)

Additionally I implement simple keymap which working only in wps contex:
if hold button off:
Plus button increase volume
This task depends upon

Comment by Ivan Goncharov (Dromok) - Tuesday, 20 April 2010, 22:25 GMT+2
Minus button decrease volume
If hold button on:
Plus button next track
Minus button previous track
Menu button start/stop playing
   alt_hold_mode.diff (17.7 KiB)
 apps/keymaps/keymap-cowond2.c                        |   15 
 firmware/export/button.h                             |    6 
 firmware/export/config/cowond2.h                     |    6 
 firmware/target/arm/tcc780x/cowond2/button-cowond2.c |   20 -
 firmware/target/arm/tcc780x/cowond2/button-target.h  |   32 -
 firmware/drivers/button.c                            |  370 ++++++++++++-------
 6 files changed, 286 insertions(+), 163 deletions(-)

Loading...