View Single Post
Old 05-05-2017, 06:54 PM   #1
Bobflip
Human being with feelings
 
Join Date: Nov 2016
Posts: 341
Default Inconsistent mouse clicks with ISwitchControl

I've noticed clicking quickly on an ISwitchControl can be a bit inconsistent passing the parameter back to Logic. Clicking slowly while having the related automation lane visible changes the value in the host fine, but clicking quicker will update the image twice, but sometimes the second click won't be registered on the automation lane, causing the automation and the plugin to show different values.

I spotted this with my own plugin, but checked iPlugControls and that exhibits the same behaviour. Other plugins I have can handle two fast clicks at once.

Is there something I can tweak to speed up the response?
I tried modifying OnMouseDblClick to call OnMouseDown(x, y, pMod) twice instead of once, but if anything that made things worse!
Bobflip is offline   Reply With Quote