Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 04-09-2009, 10:02 AM   #1
Human being with feelings
Join Date: Mar 2009
Posts: 256
Default IPlug scrollwheel

The scrollwheel doesn't work very well in IPlug. The problem is that it rounds the values to an integer, and scrollwheels can generate fractional values (mine seems to do 1/3 per detent), more details here:

Both IGraphicsWin and IGraphicsCocoa seem to suffer the same problem.

The result is that if you turn the scroll wheel slowly each click gets rounded to 0 and the control never moves. You have to turn it quickly enough that several clicks (3 in my case) arrive at once to get the control to move.

I'm not sure if the best answer is to accumulate until you get a whole number (as they do in the link above), or pass the fractional values on to the controls as a double.
cc_ is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 03:47 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.