This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#4905 - remote buttons for simulator
Attached to Project:
Rockbox
Opened by David Rothenberger (drothenberger) - Friday, 24 March 2006, 06:51 GMT+1
Opened by David Rothenberger (drothenberger) - Friday, 24 March 2006, 06:51 GMT+1
|
DetailsThis patch allows generation of remote events in the simulator. Remote keys are generated when Caps Lock is enabled, normal key events when Caps Lock is disabled.
|
This task blocks these from closing
FS#5875 - Conditional Background Image in UISim for iRiver Remotes.
FS#5875 - Conditional Background Image in UISim for iRiver Remotes.
A labeled image similar to the 'UI256.bmp' file with the keyboard buttons for each target's remote(s) would be very helpful.
Thanks, Davide-NYC
RIGHT -> FF
UP -> VOL UP
DOWN -> VOL DOWN
KP PLUS -> ON
ENTER -> STOP
KP DIVIDE -> REC
SPACE -> MENU
KP PERIOD -> MODE
I think there may be a problem with the DIVIDE -> REC mapping. I'll look into that shortly.
Where is UI256.bmp?
When the simulator is invoked with the --background switch it is ths bitmap (UI256.bmp) that is the background.
I do not understand your patch. My remotes (I have an H100 and an H300 remote) do not have the buttons in question.
I am attaching a diagram of all three iRiver remotes as well as an image of the three remote.
Assuming you are using the H100 remote, how are it's buttons mapped to the keyboard?
(Or am I missing something?)
The patch attempts to map the sim keyboard to the buttons listed in firmware/export/button.h. For the H300 remote, I can't really tell how the buttons in the picture you provided map to the symbols defined in button.h.
However, I believe every BUTTON_RC_* symbol defined in button.h can be generated with this patch. The attached updated patch adds mappings for 3 and 9 to RC_BITRATE and RC_SOURCE and maps 4 and 6 to RC_LEFT and RC_RIGHT if RC_REW and RC_FF are not defined. (At the moment, there are not remotes that include both RC_LEFT/RIGHT and RC_REW/FF.)