Rotary clicks are measured on a per second basis. That means if the wheel registers 3 clicks in one second; onRotary will report three. Using the Rotary wheel for a 'Hold' function seems a little bit impossible... It sounds like you are trying to scroll based on a key press: This is somewhat contrary to Rotary methods unfortunately.
Although I would prefer to take another route, you could try the following:
-The Rotary wheel scans for clicks every second and reports them to onRotary. -If you combine a timer mechanism with the rotary wheel report; you could look for a minimum of two clicks each second. -Combine all that with a While loop: While Click == 2 every second execute or maintain your Hold action.
Hope this helps!
Cheers // Jason
PS: Does your Yamaha take control of the iPod through the dock and are you able to send RS232 commands to the Yamaha effectively controlling the iPod indirectly?
You can hide almost anything until you have to put the drywall up!