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 Wednesday January 30, 2008 at 16:08
Lyndel McGee
RC Moderator
Joined:
Posts:
August 2001
13,006
1. The scroll function is updated every 150milliseconds so you could, in theory, use something like scheduleAfter() to manage the # of clicks you receive over a particular time span. If this # of clicks is > 1, then accept the value.

2. Use something like square root to accomplish deceleration and round down/up. 4 clicks -> 2, 9 clicks -> 3, etc... Simple division will also work but square root might be better or perhaps a logarithmic function.
Lyndel McGee
Philips Pronto Addict/Beta Tester


Hosting Services by ipHouse