- Status Closed
- Percent Complete
- 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 drothenberger - 2006-03-24
Last edited by kugel. - 2011-06-05
Opened by drothenberger - 2006-03-24
Last edited by kugel. - 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.
ID | Project | Summary | Priority | Severity | Assigned To | Progress | |
---|---|---|---|---|---|---|---|
5875 | Rockbox | Very Low | Low |
Closed by kugel.
2011-06-05 11:36
Reason for closing: Out of Date
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
2011-06-05 11:36
Reason for closing: Out of Date
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
There doesn't seem to be interest
in this anymore. Open a new task if this
is wrong.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
I updated the patch to apply cleanly to latest CVS.
Updated the patch for CVS HEAD. Also verified it compiles on all targets and sim targets.
Updated the patch for CVS HEAD. Compiles on all targets and sim targets.
Updated the patch for CVS HEAD. Compiles on all targets and sim targets.
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
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?
Updated for latest CVS HEAD. Fixed DIVIDE → REC button mapping.
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?)
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.)
Oh, in case you missed it, the remote keys are only generated when Caps Lock is on. Otherwise, normal main-unit keys are generated.