Post 1 made on Wednesday January 30, 2008 at 14:54 |
Joel Albert Founding Member |
Joined: Posts: | February 2002 21 |
|
|
All,
After playing with my 9400 its newly programmed rotary wheel I am thinking that I need to add a couple of refinements ..
1. Click Threshold -- I find that sometimes I accidently jog the wheel and trigger an action. Anyone else experiencing this? I am thinking of adding an IF statement to insure that more than 1 click has been returned.
2. At this point I am using the wheel to Page Up/Down through the Tivo What's Playing and through the Guide. I find that the wheel is a bit too responsive and I want to slow it down a bit so I don't move so fast through the screens. I have seen several examples of Acceleration logic, but nothing around Deceleration.
Any suggestions for how to implement this?
Thanks
joel
|
|
Post 2 made on Wednesday January 30, 2008 at 16:08 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 12,999 |
|
|
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
|
|
Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our
Marketplace. For information on how to advertise your service or product
click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.