This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#11008 - Clickable background and mouse wheel events for UI Simulator
Attached to Project:
Rockbox
Opened by Fred Bauer (freddyb) - Friday, 12 February 2010, 21:38 GMT+2
Last edited by Frank Gevaerts (fg) - Tuesday, 16 February 2010, 18:35 GMT+2
Opened by Fred Bauer (freddyb) - Friday, 12 February 2010, 21:38 GMT+2
Last edited by Frank Gevaerts (fg) - Tuesday, 16 February 2010, 18:35 GMT+2
|
DetailsThis patch turns the simulator background into a clickable area. i.e. you click on the play button to press play. It also maps mouse scrollwheel events to rockbox scrollwheel events. This facilitates testing because you don't have to move your hand between the mouse and keyboard. There are currently maps for Fuze, iPod, and e200. I would add the others if there is interest.
|
This task depends upon
Closed by Frank Gevaerts (fg)
Tuesday, 16 February 2010, 18:35 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed as r24696
Tuesday, 16 February 2010, 18:35 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed as r24696
- Touchscreen targets can have real buttons too
- I'd go for a rectangle for each button instead of this circular area with fixed radius, or at least for a configurable radius per button
Current targets: Sansa Fuze and E200, iPod Video, Cowon D2, iAudio X5
Disabled mouse wheel for non-scroll wheel targets.
Added conditionals for remotes.
Reduced button radius a bit.
Frank, I'm leaning towards using radius per button approach because rectangles won't fit as well for the main left right up down buttons on many players.
Added --mapping flag which outputs a template for a struct line when clicking on the background to facilitate creating new button maps.
-Drag the mouse before releasing to get a radius value.
Archos FM Recorder, Archos OndioFM, Archos OndioSP, Archos Player, Archos Recorder, Archos RecorderV2
Cowon D2
Gigabeat F/X, Gigabeat S
iAudio 7, iAudio M3, iAudio M5, iAudio X5
Ipod 1g2g, Ipod 3g, Ipod 4g, Ipod Color, Ipod Mini, Ipod Mini2g, Ipod Nano, Ipod Nano2g, Ipod Video
Iriver H100, Iriver H120, Iriver H300
Mrobe 100, Mrobe 500
Sansa C200, Sansa C200v2, Sansa Clip, Sansa E200, Sansa E200v2
Added a few lines to docs/UISIMULATOR.
Added --debugbuttons flag that prints the description of the button pressed
Added a #WARNING if no button map is defined.