Rockbox

Tasklist

FS#4721 - add interface to get absolute touch wheel value and use in brickmania (ipod 4g/nano)

Attached to Project: Rockbox
Opened by Mikael Magnusson (mikaelh) - Friday, 24 February 2006, 08:50 GMT
Task Type Patches
Category
Status Closed
Assigned To No-one
Operating System iPod Nano
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

well, what the summary says i guess. There are many things to improve here, maybe stop sending the scroll events or add a function to let plugins enable/disable them (suggested by someone on irc).
This task depends upon

View Dependency Graph

Closed by  Dave Chapman (linuxstb)
Tuesday, 26 September 2006, 19:32 GMT
Reason for closing:  Accepted
Additional comments about closing:  Committd to CVS, thanks.
Comment by Mikael Magnusson (mikaelh) - Friday, 24 February 2006, 08:52 GMT
i implemented it so either half of the wheel can be used to control the pad, since it's weird to move the finger left to get the pad to the right. The *8/6 part is so the zone between the halves put the pad at the edge. Halves being the upper and lower half, not left and right. I also couldn't resist changing those two assignments in the second to last two hunks.
Comment by Mikael Magnusson (mikaelh) - Friday, 17 March 2006, 01:04 GMT
and pacbox, depends on new version coming soon
Comment by Mikael Magnusson (mikaelh) - Friday, 17 March 2006, 01:24 GMT
now is an int, probably more efficient. returns -1 when wheel isn't touched.
Comment by Mikael Magnusson (mikaelh) - Friday, 17 March 2006, 01:52 GMT
added wheel_send_events(bool send) to enable/disable sending of events, also ensure events are enabled when leaving a plugin.
Comment by Mikael Magnusson (mikaelh) - Friday, 17 March 2006, 14:32 GMT
updated pacbox to not hang in the menu due to disabled scroll events.
Comment by Brandon Low (lostlogic) - Saturday, 18 March 2006, 21:25 GMT
Can you adapt this to work with the interface I've just put in place to report position information with wheel events (might need to add a method to get a full button event from the button queue, but it should be doable).

Sorry I didn't look for this before doing what I was, but I believe that sending the wheel data as part of the button event is preferable if it will work for your needs as well.

Thanks for the patches.
Comment by Mikael Magnusson (mikaelh) - Sunday, 19 March 2006, 16:08 GMT
here's an updated patch.
Comment by Anton Romanov (theli) - Saturday, 15 April 2006, 09:38 GMT
this may be strange ... but with this patch shutdown by holding play/pause is not working for me on iPod Mini ...
while playback stop by holding the same works ...
Comment by Anton Romanov (theli) - Saturday, 15 April 2006, 09:40 GMT
oh.. i'm stupid ... ptch changes it to play+select... sorry

Loading...