Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 2 made on Sunday January 11, 2009 at 19:44
GuerillaBuild
Long Time Member
Joined:
Posts:
December 2008
79
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!


Hosting Services by ipHouse