Quick Sign In:  

Forum: VirtualDJ Plugins

Topic: Using OnParameter function in Device plugins ?

This topic is old and might contain outdated or incorrect information.

pernPRO InfinityMember since 2004

Finally i now have some time to rewrite my DAC2 and DMC1 mappers with the new SDK.

I see that an OnParameter function is added in the default source code, how can this be used in a device mapper ?
 

Posted Mon 28 Jul 08 @ 1:30 pm
djcelPRO InfinityModeratorMember since 2004
When you define DeclareParameter() in the OnLoad function, you give an ID. Then this ID is sent to OnParameter when you use the Parameter defined

There is an example in the new plugins SDK Wizard
 

Posted Mon 28 Jul 08 @ 1:34 pm
pernPRO InfinityMember since 2004
I understand how it works, just thinking about what functionality to use it for.
 

Posted Mon 28 Jul 08 @ 1:35 pm
SBDJPRO Infinity Member since 2006
I use them in device mappers for things like having sliders for sensitivity for scratch, jog and bend. Other possibilities include switching between alternate mapping profiles, changing beat sensitivity for beat indicators and so forth...

Regards,

Scott
 

Posted Mon 28 Jul 08 @ 4:10 pm


(Old topics and forums are automatically closed)