-
Vixen, Triggers, and Teensy byt PJRC
I used the Number Pad trigger last year and wanted to expand it using the letters. Works great from a keyboard, don't even register with the Teensy . Yet the Teensy will type on the screen or in notepad.
-
Re: Vixen, Triggers, and Teensy byt PJRC
Next test showed the joystick buttons work just fine. So Vixen with 32 triggers through the joystick.
Press button 1 and script 1 playes, press button 1 again and script 2 plays. Programming is doen inside the Teensy to do that.
-
Re: Vixen, Triggers, and Teensy byt PJRC
Hi Lalder,
I am looking for help to make a trigger from a push button switch to start the vixen running.
Can you please help me. I am running vixen 2.1
Thanks
Colin
-
Re: Vixen, Triggers, and Teensy byt PJRC
Sure, first you need the addon Kiwi tirgger. Kiwi_wintrigger works with the number pad, Kiwi_inputs works with the Joystick. Just copy the .dll to the plugins\trigger direstory.
Then start Vixen, click 'Triggers' and select the one that you will be using.
Then you need a sequence, I made a quickie (1 min) and saved it as Testseq.vix . Save and close that sequance.
Then click "Sequence", then "New event sequence", then "Trigger response".
You might get a message "No wizard available" "A blank sequence will be created for you." Click 'Ok'.
This gets you a 'Blank' box. Look for the plus sign inside a circle, click it and that pulls up 'Trigger Response Edit' .
Under 'Trigger type' click the drop down box and the 'trigger' you had installed and selected should be an option.
Under 'Description' enter something to describe it back to you later on.
Under 'Line' you will find the trigger items, if you picked Kiwi_wintrigger it will be 0-9 (off the keypad)
Then in the Response box
'Sequence' this is where you assign the Vixen Sequence that will run.
Under Audio device, if your like me i have 4, pick the one that will play the sound/music.
That's it in a nut shell
I converted mine this year from Number Keypad (10), to Joystick buttons (32).
-
Re: Vixen, Triggers, and Teensy byt PJRC
-
Re: Vixen, Triggers, and Teensy byt PJRC
Hi Lee,
Thanks for your help.
Just done a trigger. I can not get the numbers key pad to work. I am using an old laptop with xp. I have checked in word that the keys are working.
It works when you press the "test" (Triggers with responses) and select the kiwi_wintrigger - 1 then press the test button and it works.
I have press the play and have at the bottom of screen 1 responce active.I also have a green arrow next to the sequence.
Am i missing something?.
How do you connect a joy stick to the computer?
Thanks
Colin
-
Re: Vixen, Triggers, and Teensy byt PJRC
Hi Colin:
I sorta had that problem too, until i got an external number keypad and then it worked.
Turned out my old laptop was not outputting number keypad but just outputting numbers.
They are different. Try a usb keyboard that has a number pad, that is what I used to figure out my old laptop was not working well.
The joystick hookup is through USB the PJRC Teensy is an Arduino that you can program. When attached to your system it tells winders it's part of HID
Human Interface Device (keyboard, joystick). This in turn gives you 32 joystick buttons you can program.
I just finished a Teensy program that when you press the button it counts and plays the appropriate script, when it reaches 4 it re-sets.
so
Push "Button" count=1, Skeleton says "I asked for a NON-smoking coffin"
Push "Button" count=2, Skeleton says "Saturday night fever I caught it ... and died from it!!"
Push "Button" count=3, Skeleton says "Think I have been dieting to long I'm just skin and bones!"
Push "Button" count=4, Skeleton says "Does this coffin make me look fat?"
count re-set to 0
nice thing with the Teensy I can hook up a motion sensor to trigger "Button" (currently it is a real button).
on the Vixen Triggers
I have
button10 (joystick) set for Seq1
button11 (joystick) set for Seq2
button12 (joystick) set for Seq3
button13 (joystick) set for Seq4
there is also a delay built into the teensy that keeps multiple triggers from happening. I know the length of each script and the reset time for the coffin so i turn of the input line from the sensor until that time passes.
http://s444.photobucket.com/albums/q...t=DSCF9235.mp4
-
Re: Vixen, Triggers, and Teensy byt PJRC
quick follow up on a few items not covered
Ok check this.
make sure when you start vixen make sure that Kiwi_wintrigger is checked under Triggers.
also make sure the trigger events are set to the right actions.
I define a sequence with sound and stuff, then save it.
I then create a new trigger response.
It will say "No wizard available. A blank sequence will be created for you"
press ok
now empty box shows.
click on the + inside a circle.
'Trigger Response Edit' box shows
under trigger type 'Kiwi_wintrigger' is the type
discription is for you (Box popper and lights)
Line is the keypad number (not keyboard) 0-9
sequence is the sequence you saved earlier.
and then the audio device (bit of a pain for me I have 6 usb sound cards all with the same name!)
press enter
no you can click TEST
that will show Trigger Response Test, select the number you picked earler (should only be 1 at this time as you add more there will be more)
then click test button
best place to check keycodes and for kiwi_wintrigger you need codes 96-105
http://isithackday.com/whatkeycode/
now if you keep getting 49 that is the wrong keycode (keyboard 1 not keypad 1)
-
Re: Vixen, Triggers, and Teensy byt PJRC
Hi Lee,
Just tried the code again. Went to the we site and tested the key board. I tried it on my Mac and it worked no problems, then I tried on the laptop with xp but will not work no key code on the screen.
I have tried it on 2 laptops now with the some outcome.
I will try on a other computer when I can.
Thanks
Colin
-
Re: Vixen, Triggers, and Teensy byt PJRC
Hi Colin:
That might be your problem. If the codes from http://isithackday.com/whatkeycode/ are not showing on the screen, then they are not making it to Vixen.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks