• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category
  • Assigned To No-one
  • Operating System iPod Nano
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by mikaelh - 2006-02-24

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

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

The task blocks this from closing
ID Project Summary Priority Severity Assigned To Progress
5424 Rockbox  FS#5424 - rockboy controls for ansolute wheel positioning (iPods)  Very Low Low
Closed by  linuxstb
2006-09-26 19:32
Reason for closing:  Accepted
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

Committd to CVS, thanks.

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.

and pacbox, depends on new version coming soon

now is an int, probably more efficient. returns -1 when wheel isn't touched.

added wheel_send_events(bool send) to enable/disable sending of events, also ensure events are enabled when leaving a plugin.

updated pacbox to not hang in the menu due to disabled scroll events.

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.

here's an updated patch.

theli commented on 2006-04-15 09:38

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 …

theli commented on 2006-04-15 09:40

oh.. i'm stupid … ptch changes it to play+select… sorry


Available keyboard shortcuts


Task Details

Task Editing