|
|||
Tale wrote: mystran wrote: There's a "vendorSpecific" (not really, it's common to all hosts) in VST to handle mouse wheel: check for index == 0x73744341 && value == 0x57686565, then "opt" parameter will be -1 or 1 depending on direction.
edit: Since I'm not sure if I've change the parameter names, here's the prototype VstIntPtr MyPlug::vendorSpecific(VstInt32 index, VstIntPtr value, void* ptr, float opt); Well, all hosts... REAPER doesn't seem to support it. But indeed FL Studio and VSTHost do, so thanks for the info. Well "all hosts" in the sense of "not really vendor specific". |
|||
| ^ | Joined: 11 Feb 2006 Member: #97939 Location: Helsinki, Finland | ||
|
|||
mystran wrote: Well "all hosts" in the sense of "not really vendor specific".
I found this, I now understand what you mean: http://www.asseca.com/vst-24-specs/efVendorSpecific.html Do we know which hosts do/don't support this? Here is my shortlist so far: Hosts that support effVendorSpecific mouse wheel
Hosts that don't
* In REAPER the plug-in window does seem to receive WM_MOUSEWHEEL messages without setting keyboard focus |
|||
| ^ | Joined: 12 Apr 2010 Member: #229644 Location: Lowlands of Holland | ||
|
|||
What I personally do is synthesize WM_MOUSEWHEEL messages upon receiving the effVendorSpecific mouse-wheels, so if a host such as Reaper instead sends WM_MOUSEWHEEL messages I won't notice any difference. But anyway, the situation kinda sucks. |
|||
| ^ | Joined: 11 Feb 2006 Member: #97939 Location: Helsinki, Finland | ||
|
|||
mystran wrote: There's a "vendorSpecific" (not really, it's common to all hosts) in VST to handle mouse wheel: check for index == 0x73744341 && value == 0x57686565, then "opt" parameter will be -1 or 1 depending on direction.
The reason for the funny numbers comes out better if you use the constants 'stCA' and 'Whee' instead. |
|||
| ^ | Joined: 16 Aug 2004 Member: #37236 Location: Vienna, Austria |
| KVR Forum Index » DSP and Plug-in Development | All times are GMT - 8 Hours |
|
Printable version |
Disclaimer: All communications made available as part of this forum and any opinions, advice, statements, views or other information expressed in this forum are solely provided by, and the responsibility of, the person posting such communication and not of kvraudio.com (unless kvraudio.com is specifically identified as the author of the communication).
Powered by phpBB © phpBB Group












