Ingresar:     


Forum: Old versions

Tópico: Simple mapping (I think?)

Este tópico es antiguo y puede contener información incorrecta para la nueva versión.

Hi guys,

I have been trying for ages to figure out how to assign a "shift" button in VDJ. Say I want to use a button for one task, but when it is hold down in while another button is pressed the combination performs another task. This is probably really simple and stupid, but I can't seem to figure it out haha.

So I would like to be able to press the "scratch" button on my Mixtrack and while holding it down browse through the song list using the touchwheel. Is it possible to map it like this? Thanks a lot for your help.
 

Mensajes Tue 18 Jan 11 @ 6:44 am
Not sure if this helps, but I've done it with the Control keys.
I use my Page up/Page down keys to alter the pitch of a track;
where page/up, page down (by themselves) does Deck 2, and CNTRL-page up, page down does Deck 1.

I may be completely missing your point, but maybe it helps..
 

Hi DJ Dizzay

Have you had a look at the VDJPedia? http://www.virtualdj.com/wiki/VDJscript.html

It can be a little confusing at first but have you tried to make changes in VirtualDJ within the mapper section of the config?

You could try this..

Add the following to the "Scratch button" at the beginning leaving the rest after the ":" with a space...

var 'flip' 1 while_pressed : <what was already here>

Add the following to the "Touch wheel" " at the beginning leaving the rest after the ":" with a space...


var 'flip' ? browser_scroll : <what was already here>

Hope that helps

Cheers
DJ Wishbone

 

mcs1234: You have somehow made use of this "combo" (shift) button if you can use the CTRL key for controlling the different decks. This is what I want to do somehow :) have you written something like "var ... while_pressed : ....." for the mapping of the buttons?

DJ Wishbone: Thanks a lot for your help mate! You are definitely on the right track here, this is exactly what I want. However, I seem to get a syntax error when putting in the command for the scratch button. I have done some screenshots - can you see if I have done anything wrong? I have spend hours trying to understand VDJscript but I must admit that it becomes a hurdle when having to do more difficult mappings :( ..

Scratch button: http://img214.imageshack.us/img214/3385/settings1.png
Jogwheel: http://img121.imageshack.us/img121/1494/settings2g.png

Thanks a lot for your help guys!

Dizzay
 

I think I gave you the wrong sytax.

Should be... set 'flip' 1 while_pressed

"set" not var for first one

Sorry about that

Dj wishbone
 

I still seem to get the same error when using "set" instead of "var" :(
 

Use this:

set flip while_pressed


The this:

var flip ? on : off


Replace 'on' with the shift action, 'off' with the normal non-shift action.
 

Hi SBDJ,

Thanks for your reply, but if I type "set flip while_pressed" under the scratch button and "var flip ? browser_scroll : touchwheel" under the jogwheel it does not seem work either sadly..
 

If it has a single SCRATCH button shared between both decks, you will need to use a global variable $flip instead of flip which is local to each deck.
 

I though the mixtrack had two scratch buttons?
 

It does have two scratch buttons, but I have also tried to assign it to a global button now and it still doesn't work.. Thanks for all your help though, I'll guess I just have to accept that this was not as simple as I thought it would be and use the premapped settings :P
 

Instead of the above mappings, try the following:

SCRATCH button = wheel_mode "browser,jog"

JOG = touchwheel

Then add the following (Click +), so that you can see when it is in browsing mode:

LED_SCRATCH = wheel_mode "browser" ? on : off
 



(Los tópicos y foros antiguos son automáticamente cerrados)