Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Patches
  • Category User Interface → Simulator
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by David Rothenberger - 2006-03-24
Last edited by Thomas Martitz - 2011-06-05

FS#4905 - remote buttons for simulator

This 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.

The task blocks this from closing
ID Project Summary Priority Severity Assigned To Progress
5875 Rockbox  FS#5875 - Conditional Background Image in UISim for iRiver Remotes.  Very Low Low
0%
Closed by  Thomas Martitz
2011-06-05 11:36
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.

David Rothenberger commented on 2006-03-24 17:51

I updated the patch to apply cleanly to latest CVS.

David Rothenberger commented on 2006-07-21 02:14

Updated the patch for CVS HEAD. Also verified it compiles on all targets and sim targets.

David Rothenberger commented on 2006-07-24 20:44

Updated the patch for CVS HEAD. Compiles on all targets and sim targets.

David Rothenberger commented on 2006-08-14 22:35

Updated the patch for CVS HEAD. Compiles on all targets and sim targets.

Davide commented on 2006-08-23 22:42

How are the buttons mapped exactly?
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

David Rothenberger commented on 2006-08-23 23:29

LEFT → REW
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?

David Rothenberger commented on 2006-08-24 21:35

Updated for latest CVS HEAD. Fixed DIVIDE → REC button mapping.

Davide commented on 2006-08-24 22:27

UI256.bmp is in the sim directory after “make”.
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?)

David Rothenberger commented on 2006-08-24 23:24

I only have a H100 remote. The attached image shows the mappings for the H100 and the H300 non-LCD remotes. The H300 non-LCD mappings are an educated guess. I really have no idea about the H300.

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.)

David Rothenberger commented on 2006-08-24 23:29

Oh, in case you missed it, the remote keys are only generated when Caps Lock is on. Otherwise, normal main-unit keys are generated.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing