Sign In:     


Forum: General Discussion

Topic: mapper woes

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

I'm no programmer, but I'm no slouch either. I've gone over the xml files to try to fully understand what commands are available in vdjscript and how to implement them but there are still a few things I can't seem to get working on my dac2:

The outer jog wheel - the new default dac2 map has this programmed but the function isn't doing anything when the knob is pushed forward or backward. I've tried every command even remotely related and I'm starting to think such a command doesn't exist and would need to be added to VDJ. Something like 'wheel_mode "seek" & jog_wheel'

Shift. 6.0.1 helped me figure out a lot of commands, but shift isn't working the way it is shown in the mapper. The command is 'set "shift" while_pressed' but while_pressed doesn't seem to be a valid command.

I tried 'down ? set "shift" :' but how do I say unset "shift" ? In other words, it seems to set "shift" when I press the shift key but it doesn't return to a state of not "shift" when released.

Help, tia!
 

Posted Mon 08 Jun 09 @ 12:42 pm
Hi

If you've got "while pressed on the end then the shift key would only be set while its pressed down, the keys should return to their normal function when released

PJay
 

try using.....

set "shift" 1 while_pressed

then on other keys......

var_equal 'shift' 1 ? my_action2 : my_action1

if you've got any particular action, let me know and ill see if i can help in any way

PJay
 

I didn't seem to have much luck with the "while_pressed" part, but I'll give it another try. I could get buttons to perform a second function after pressing the shift key by using the "down" command, but the buttons would not revert back to their primary function when the button was released.

 

jimmiem wrote :
I didn't seem to have much luck with the "while_pressed" part, but I'll give it another try. I could get buttons to perform a second function after pressing the shift key by using the "down" command, but the buttons would not revert back to their primary function when the button was released.



If you cut and paste my above commands, just replacing the "my_actions" then it should work.
have another go and let me know.

PJay
 

HI this works in 6.0.4

map OUTERWHEEL to this action

param_smaller 0.01 ? seek -64 : param_smaller 0.08 ? seek -32 : param_smaller 0.15 ? seek -16 : param_smaller 0.22 ? seek -8 : param_smaller 0.29 ? seek -4 : param_smaller 0.36 ? seek -2 : param_smaller 0.43 ? seek -1 : param_smaller 0.52 ? seek 0 : param_smaller 0.58 ? seek +1 : param_smaller 0.65 ? seek +2 : param_smaller 0.72 ? seek +4 : param_smaller 0.80 ? seek +8 : param_smaller 0.87 ? seek +16 : param_smaller 0.94 ? seek +32 : param_smaller 1.1 ? seek +64 : nothing
 



(Old topics and forums are automatically closed)