Author Topic: How to make this work?  (Read 1686 times)

bd100

  • Newbie
  • *
  • Posts: 10
How to make this work?
« on: April 22, 2022, 08:12:29 AM »
In DCS I have a controller button to operate the laser in options.  I thought if I created a bind in options, then assigned a voice command selecting hold down ticked, & release it with release ticked, that might work.  Only problem while the being held down no other keys work, only axis control.  Why doesn't that happen if a controller holds the same key?  Anyone familiar DCS know how to make this work?, & scripting is over my head.  Thanks
 

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4785
  • RTFM
Re: How to make this work?
« Reply #1 on: April 22, 2022, 08:23:16 AM »
Joystick devices are normally completely independent (though in DCS joystick button can be assigned as modifiers), whereas there all keyboard devices/inputs share the same set of states.

If you're holding down a modifier key, I.E. Ctrl, Alt, Shift, or a Windows key, that will normally affect keyboard input from any source (E.G. if you're holding down Ctrl-L, and then press the E key, that will register as Ctrl-E).


There is a plugin that can allow VoiceAttack to operate a virtual joystick device, which can then be mapped to ingame functions, which would not interfere with keyboard input.
Note that this virtual device will be independent from any existing (physical) devices; the Windows joystick interface is not designed to allow for pressing buttons on existing devices.

bd100

  • Newbie
  • *
  • Posts: 10
Re: How to make this work?
« Reply #2 on: April 22, 2022, 09:55:00 AM »
Thank you Pfeil for that explanation.