Jump to content

Need help setting joystick buttons


Recommended Posts

Posted (edited)

I voice attack I set a button, so when it is pressed, start to listening so its atcs as a PTT Button:

image.png

In Vaicompro I set another 2 buttons for Com 1 and Com2:

 

image.png

 

 

But even if my VA PTT button is not pressed, the Vaicom Pro islistening if Com1 or Com2 is pressed as its acts as a PTT button.

Is there a way to set Com1 and Com2 buttons as a radio select button and use the PTT Button in VA , to be the only PTT button?

 

Sorry if its quite confusing to explain....

Thanks!!

Edited by Biga42
Posted

Hi @Biga42

 

I had a look at your post already and didn't comment as right now I don't know a way to do that

 

I believe that Vaicom recommends that you do not have a global PTT as you have on the first picture.

 

The buttons in VA are actually PTTs not radio select buttons according to the Vaicom manual, in reality they do both. The Vaicom PTTs execute the Plug In and the Plug In also starts/stops VA listening.

 

You could null the command which starts VA listening by issuing a mute command directly after that but I don't know how long the radio remains selected in Vaicom.

 

Let me experiment with it in a module to try it, but I'm not holding out much hope.

 

I'll get back to let you know how I get on

 

It seems a strange request as it just uses another PTT on your HOTAS is there a particular reason to want to use that configuration?

Posted

Ok just tried that and no luck I'm afraid, I cancelled the Listen command using a VA toggle but the Plug In immediately countermands the Toggle and sets VA to listen immediately afterwards.

 

So no joy, sorry.

 

There may be a way to achieve this using a combination of exposed vairiables and perhaps using Single on the PTT Rotary, but it isn't immediately apparent to me.

 

If I was really set on doing this, then I'd go to the Vaicom website and drop a request direct to them.

 

My dealings with Hollywood and the team there have been nothing but positive.

 

If you don't have any luck post up again and I'll see if I can up with something, however if Hollywood can't help I very much doubt I can

Posted

Thanks @Weegie!

 

 

"It seems a strange request as it just uses another PTT on your HOTAS is there a particular reason to want to use that configuration?"

 

Because I want the VA PPT to be as a master listening toggle button. If in VA PTT is not pressed, so Vaicom can not listening even if I press the Com1/Com2.

Posted (edited)

I think you might be able to set this up as follows by programming the following into your profile:

 

1. Define the "radio" buttons to set a variable indicating which radio has been selected but do NOT have them invoke VAICOM or start listening.

2. Define your PTT button with two different functions (one for press and one for release) to read that variable and then conditionally invoke one of the VAICOM API commands that simulate a TX press or release. See the API section of the manual for details.

 

For example, you could program buttons 1 and 2 to "select" radio 1 or 2 (respectively) by setting a variable equal to the string "TX1" or "TX2" (respectively), but do nothing else. Then define a button 3 press to send ptt.hotkey.TX1.press or ptt.hotkey.TX2.press to VAICOM depending on the setting of the variable. You would also define a button 3 release function to send ptt.hotkey.TX1.release or ptt.hotkey.TX2.release. Then button 1 or 2 would select TX1 or TX2 but the TX function would not be invoked until you pressed button 3.

 

You presumably would also disable all of the currently defined TX buttons.

 

As Weegie said, the VAICOM TX functions start and end VA listening so you should NOT define a push-to-talk button in VA itself.

 

Caveat: I haven't tried this myself. Tried it and it worked.

Edited by sthompson

I'm Softball on Multiplayer. NZXT Player Three Prime, i9-13900K@3.00GHz, 64GB DDR5, Win 11 Home, Nvidia GeForce RTX 4090 24GB, TrackIR 5, VKB Gunfighter III with MCG Ultimate grip, VKB STECS Standard Throttle, CH Pro pedals

Posted

Here are some directions to get you started. (Supports only TX1 and TX2 but edits to support other radios should be obvious once you get these setup.)

 

  1. Download attached VAP file and save in your VAICOMPRO\Profiles directory.
  2. Start VoiceAttack and load your VAICOMPRO profile if not active already. Press Alt-E to edit the profile.
  3. Click on "Import Commands" and select and open the file you saved in step 1. Make sure that all four commands are selected and click "Import."
  4. Double-click on the Set TX1 command. Click the "When I press button" selection and press your desired button for TX1. Click OK twice.
  5. Double-click on the Set TX2 command. Click the "When I press button" selection and press your desired button for TX2. Click OK twice.
  6. Double-click on the Alternative PTT press command. Click the "When I press button" selection and press your desired button for PTT. Click OK twice.
  7. Double-click on the Alternative PTT release command. Click the "When I press button" selection and press your desired button for PTT. Verify that the box for "Shortcut is invoked only when all buttons are released" is checked. Click OK twice.
  8. Delete the regular PTT commands that might conflict.
  9. Click DONE
  10. Test by bringing up the VAICOM window, PTT page, and trying out your new buttons.

VAICOM Alternative PTT Profile.vap

I'm Softball on Multiplayer. NZXT Player Three Prime, i9-13900K@3.00GHz, 64GB DDR5, Win 11 Home, Nvidia GeForce RTX 4090 24GB, TrackIR 5, VKB Gunfighter III with MCG Ultimate grip, VKB STECS Standard Throttle, CH Pro pedals

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...