Entra:     


Forum: VirtualDJ Plugins

Topic: Total Contol

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

Is anyone coming up with a mapper for NTC?.

I would like to change sample control to video effects.

Thanks
 

Inviato Wed 08 Aug 07 @ 5:33 pm
paulettecerra wrote :
Is anyone coming up with a mapper for NTC?.

I would like to change sample control to video effects.

Thanks

 

I wish I had a NTC in order to make a working mapper...
 

i know how to make a skin, but this ...
hopefully somebody is working on it
in the meantime can somebody explain me/us how to make one, please
or post a link

maybe i will give it a try

cheers,
matt
 

You can add in vdjDevice.h after "#define PLUGINDEVICE_ICDX "

#define PLUGINDEVICE_DMC2 8
#define PLUGINDEVICE_KC0 9
 

Did you ever get that figured out?

I would like to change the cross fader to be video only, but still use it as a USB device.
 

In crossfader audio option select disable and in video option select link crosfaders and your crossfader will be only for video, no any mapper is necessary ;)
 

FROM the VDJ STAFF:

To make the cross fader act as a video device

OnSlider(int chan,int slider,int absvalue,int relvalue)
{
char cmd[32];

switch(slider)
{
case KC0_SLID_CROSSFADER:
wsprintf(cmd,"video_crossfade %d",absvalue);
SendCommand(chan,cmd);
break;
}
}

It should work like that.

Best regards
 

My question is does the above routine live in the KC0Mapper.h class?
 

Here is what I have (so far), but I am getting an error. Any help?

<mapper.cpp>

#include "stdafx.h"
#include "mapper.h"
#include "vdjDevice.h"
#include "KC0Mapper.h"

OnSlider(int chan,int slider,int absvalue,int relvalue)
{
char cmd[32];

switch(slider)
{
case KC0_SLID_CROSSFADER:
wsprintf(cmd,"video_crossfade %d",absvalue);
SendCommand(chan,cmd);
break;
}
}


<error>

.\mapper.cpp(9) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
.\mapper.cpp(15) : error C3861: 'wsprintf': identifier not found
.\mapper.cpp(16) : error C3861: 'SendCommand': identifier not found
.\mapper.cpp(19) : warning C4508: 'OnSlider' : function should return a value; 'void' return type assumed
 



(Vecchi argomenti e forum sono automaticamente chiusi)