Plug-ins, Hosts, Apps,
Hardware, Soundware
Developers
(Brands)
Videos Groups
Whats's in?
Banks & Patches
Download & Upload
Music Search
KVR
   
KVR Forum » DSP and Plug-in Development
Thread Read
Key press stolen in FL / Studio One
Goto page Previous  1, 2
mystran
KVRAF
- profile
- pm
- e-mail
- www
PostPosted: Mon Nov 19, 2012 7:11 am reply with quote
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. Smile


Well "all hosts" in the sense of "not really vendor specific".
----
<- my plugins | my music -> @Soundcloud
^ Joined: 11 Feb 2006  Member: #97939  Location: Helsinki, Finland
Tale
KVRist
- profile
- pm
- www
PostPosted: Wed Nov 21, 2012 2:09 am reply with quote
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

  • FL Studio
  • VSTHost
  • Studio One


Hosts that don't

  • REAPER*
  • Mixcraft


* In REAPER the plug-in window does seem to receive WM_MOUSEWHEEL messages without setting keyboard focus
----
Martinic Combo Model V & F
^ Joined: 12 Apr 2010  Member: #229644  Location: Lowlands of Holland
mystran
KVRAF
- profile
- pm
- e-mail
- www
PostPosted: Wed Nov 21, 2012 8:46 am reply with quote
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. Razz

But anyway, the situation kinda sucks.
----
<- my plugins | my music -> @Soundcloud
^ Joined: 11 Feb 2006  Member: #97939  Location: Helsinki, Finland
arakula
KVRAF
- profile
- pm
- e-mail
- www
PostPosted: Thu Nov 29, 2012 11:18 pm reply with quote
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.
----
"Until you spread your wings, you'll have no idea how far you can walk."
^ Joined: 16 Aug 2004  Member: #37236  Location: Vienna, Austria
All times are GMT - 8 Hours

Printable version
Page 2 of 2
Goto page Previous  1, 2
Display posts from previous:   
ReplyNew TopicPrevious TopicNext Topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Username: Password:  
KVR Developer Challenge 2012