Skip to main content
Participating Frequently
August 13, 2018
Answered

Activating triggers while Twitch streaming? Map hotkeys to inactive CA window in bg?

  • August 13, 2018
  • 3 replies
  • 3710 views

I saw there was a discussion in 2017 about this but there was no answer, they were just hoping it'd be something we can do in the future. Well now it's the future haha!

So my question, I have an animated character that I've successfully set up to work with keyboard triggers (character is too complex to do motion-triggers like turning head to side as I am tracking parallax). I've also successfully brought it into my twitch stream using the workflow Character Animator>NDI Output>OBS>Twitch. And this is amazing that I can live perform while gaming, I really love this feature, it's just like 95% complete, it's almost there! Biggest hangup is triggers, they can only be mapped to keyboard keystrokes, and keyboards only work with active windows. So while I'm gaming (active window), my character's lip sync works beautifully and all motion, but can't do a single trigger because they keyboard doesn't effect Character Animator if the window isn't active.

Has anyone found a workaround? Would a USB connector like Stream Deck work to point those custom macro keys to an active window? If I have a gaming keyboard that already has 2 rows of programmable macro keys can those be mapped to INACTIVE windows? In theory it sounds as simple as giving a shortcut a path to the program it's supposed to activate like "C:\Programs\Here\runthis.exe" but more like some kind of script {input [window/Character Animator.exe]} or something (obviously not a real script lol).

Right now the only solution I have is to run a game in windowed mode, move it slightly off-screen, then undock the triggers/behaviors perform panel to the side and stack vertically, but I have to mouse-over and click for every single trigger, which takes me out of the game once every 5 seconds and while it's funny standing still while being attacked, I don't think it'll entertain for very long on Twitch.

I feel like the streaming capabilities for CA are SO CLOSE on this! But aside from using a 2nd computer just for keyboard & add extra lag through outputting over NDI, I'm not sure what else to try. Would a MIDI controller/keyboard override this? Or would the window still need to be active? That way, it shouldn't conflict with the keyboard since it's sending MIDI, but thinking it still comes back to triggers not working while window is inactive/minimized in the background.

This topic has been closed for replies.
Correct answer alank99101739

(I was going to suggest MIDI as your best hope as I assume that won't be affected by focus. Keyboard input is controlled by the window focus, so it makes sense you losing that input. But MIDI I think has its own API so I think there is a good chance what you want will work. In a recent Tips and Tricks from oksamurai showed some products you can get which are physical midi devices that work with Character Animator - buttons and sliders etc. But I don't have a midi device hooked up to the computer, so I cannot test and verify.)

3 replies

KShinabery212
Community Expert
Community Expert
August 28, 2018

This is something I want to try eventually.

I was streaming from Wacom Cintiq Companion 2 (art not gaming) and I was scared it would not work on that device.  But now I have the Wacom MobileStudio Pro which is slightly stronger!  So maybe I will try to build a character that would work with it.

But I also multistream.... so I stream to Twitch, Mixer, YouTube and Periscope at the same time.  Of course with a chat browser.  I will never partner with one of them anyways.... so it is ok for me to multistream.

oksamurai
Community Manager
Community Manager
August 13, 2018

Although I also haven't tried it personally and my MIDI device is in another office today, I believe alank99101739​ is right - MIDI will allow CH to be inactive and still work for triggers.

alank99101739
alank99101739Correct answer
Legend
August 13, 2018

(I was going to suggest MIDI as your best hope as I assume that won't be affected by focus. Keyboard input is controlled by the window focus, so it makes sense you losing that input. But MIDI I think has its own API so I think there is a good chance what you want will work. In a recent Tips and Tricks from oksamurai showed some products you can get which are physical midi devices that work with Character Animator - buttons and sliders etc. But I don't have a midi device hooked up to the computer, so I cannot test and verify.)

JrsmolikAuthor
Participating Frequently
August 14, 2018

Thanks I'll try this out when I get home & confirm if it works! It'd be great to be able to use a MIDI switchboard