COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 02-24-2018, 04:20 AM   #1
Guod3
Human being with feelings
 
Guod3's Avatar
 
Join Date: Jan 2008
Posts: 506
Default IKnobControl mouse resolution

I have controls in the range 0..127 and find that even with various DPI settings on the mouse (I have a G600 gamimng mouse) I cannot dial up certain control values.
For example 87 always jumps to the next value 89.
Has anyone noticed this?
I am using
Code:
GetParam(paramIdx)->GetNormalized()*127.0;
in OnParameterChange().
I also notice that there are many more calls to OnParameterChange() than are necessary for the low resolution. I.e, many calls happen in succession with exactly the same value, this includes the double (normalized representation).
Guod3 is offline   Reply With Quote
Old 02-24-2018, 07:09 AM   #2
Bobflip
Human being with feelings
 
Join Date: Nov 2016
Posts: 311
Default

What happens if you shift+drag? That's the universal way to get more accurate control in plugins and hosts. Works for me in both standalone and plugin formats.
Bobflip is offline   Reply With Quote
Old 02-24-2018, 07:38 AM   #3
Guod3
Human being with feelings
 
Guod3's Avatar
 
Join Date: Jan 2008
Posts: 506
Default

Yes, that works, thanks. I wonder if the situation could be improved, however.
Guod3 is offline   Reply With Quote
Old 02-25-2018, 10:49 PM   #4
stw
Human being with feelings
 
stw's Avatar
 
Join Date: Apr 2012
Posts: 247
Default

Look out for the var mGearing in your IControl and change the value to whatever fits your needs best.
stw is offline   Reply With Quote
Old 02-26-2018, 04:23 AM   #5
Guod3
Human being with feelings
 
Guod3's Avatar
 
Join Date: Jan 2008
Posts: 506
Default

I changed the mGearing property from what was 4.0 to 16.0 and now it is fairly easy to dial up an arbitrary value without a modifier key (shift). Thanks!
Guod3 is offline   Reply With Quote
Reply

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 09:51 AM.


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