This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#6471 - Customizable remote buttons.
Attached to Project:
Rockbox
Opened by Robert David (Robertek) - Monday, 25 December 2006, 12:14 GMT+2
Last edited by Thomas Martitz (kugel.) - Sunday, 05 June 2011, 13:38 GMT+2
Opened by Robert David (Robertek) - Monday, 25 December 2006, 12:14 GMT+2
Last edited by Thomas Martitz (kugel.) - Sunday, 05 June 2011, 13:38 GMT+2
|
DetailsIt would be nice if there were some option to customize buttons on remote control, the ability to map buttons to function you want.
Why I requested it is because I have an old IMP-400 remote and its mapping is different from the old IMP-400. Maybe this will be good not only for H1x0 but also for such as iaudio X5, H3x0 etc I imagine something like option with function and when is accessed it will assign first button that is pressed, something like that. |
This task depends upon
Closed by Thomas Martitz (kugel.)
Sunday, 05 June 2011, 13:38 GMT+2
Reason for closing: Out of Date
Additional comments about closing: There doesn't seem to be interest in this anymore. Open a new task if this is wrong.
Sunday, 05 June 2011, 13:38 GMT+2
Reason for closing: Out of Date
Additional comments about closing: There doesn't seem to be interest in this anymore. Open a new task if this is wrong.
The buttons are read out using a resistor network over an ADC. This makes it necessary to check the buttons in a specific order. A different remote type will need completely different values for the ADC, and to make this reliable it's necessary to have some tolerances within the values. Simply using the first value samples won't work reliably.
Also, having customizable buttons will be a pain to support, so I'm strongly against adding such a feature.
Maybe Im wrong.
So if its not possible so I would ask in which file are this function to button assignations?
Because the buttons works, nearly all of them, but they works in different position than I was used to on IMP-400 (they are set to work on H140 way, but the remote is not designed for that, have different position of buttons than remote for H1xx)
I attach firmware/target/coldfire/iriver/h100/button-h100.c which is customized, fot those who want to set their old IMP400(350) remote.
Only think I find out that there is one button (button play which is used to power on the player) cant be set?!? I dont know why but it doesnt show any value in debuging screen (View IO ports). So I have changed the menu function with play function.
Also volume is set in reverse ordet than in IMP400 due to scroll function.
It only replace H300 remote functions (while this remote is recognizet as H300-remote), so maybe someone more involved could make a menu swich for this. (it is too advanced for me now)
Btw, the remote ADC value gets read out as 0x00 ~ 0x01 for me. Looks like the h300 remote value is usually higher (but I don't have one, so I can't check), so this could get added as an additional remote type.
I have attached picture of the remote with button values, I have changed some numbers in button-h100.c
I was surprized that it is recognized as H300 remote, (I dont know H300 remote but H100 use similar to IMP550)
Here are my assignations:
OO STOP
18 VOL_DOWN
33 MODE
4C VOL_UP
67 BITRATE (+ 10)
7E REC
96 SOURCE (- 10)
B5 FF (FW)
CE ON (PLAY)
E8 BACK (BW)