Intercom PTT Key

Ask here for software oriented support
Post Reply
dkreiskott
Posts: 211
Joined: Thu Dec 15, 2022 11:11 am
Location: Germany \ near EDDL
Contact:

Intercom PTT Key

Post by dkreiskott »

Hi all,

one question.
In the Intercomm App I can assign a PTT Key.
This Key is sent when I press the ACP RAD Switch?
In my configuration in the Intercom App the PTT key is "End" Key
In my ATC App the PTT Key is "END" Key too.
But if I press the RAD switch on the ACP nothing appears.
Regards
Dieter

A320 cockpit Prepar3d v5.4 with full voice control for ATC and ground crew
Developer of EWD Overlay and Home Cockpit Builder
jeehell
Site Admin
Posts: 414
Joined: Thu Nov 03, 2022 10:14 am

Re: Intercom PTT Key

Post by jeehell »

it should work, on the same PC as the intercom app.
Regards,
Jean Luc
dkreiskott
Posts: 211
Joined: Thu Dec 15, 2022 11:11 am
Location: Germany \ near EDDL
Contact:

Re: Intercom PTT Key

Post by dkreiskott »

I don't understand your comment Jean Luc.
Do you mean, the ACP Panel must connected to the same computer were the intercom is running?
Regards
Dieter

A320 cockpit Prepar3d v5.4 with full voice control for ATC and ground crew
Developer of EWD Overlay and Home Cockpit Builder
jeehell
Site Admin
Posts: 414
Joined: Thu Nov 03, 2022 10:14 am

Re: Intercom PTT Key

Post by jeehell »

no, the key PTT feature works, but the "recipient" app should be on the same PC as the intercom app
Regards,
Jean Luc
dkreiskott
Posts: 211
Joined: Thu Dec 15, 2022 11:11 am
Location: Germany \ near EDDL
Contact:

Re: Intercom PTT Key

Post by dkreiskott »

Hi JL,

I'm using VOXATC and it is installed on the P3D Computer. But it isn't an external application.
VoxATC loads with the P3D via dll.xml.
So the intercom and the receiving app runs on the same computer, as you describe.
P3D and Starter runs both with administrator rights.
But the RAD switch doesen't work and I found another problem with the intercom.

If I switch on both acps to INT there is no internal communication.
My both Headsets and Stab Mics are working without errors.
I have checked both ACP with the ACP App from you, the switches on the hardware ACP are working correct.

I'm very shure, that all works in the past.
I think there is a problem with the intercom or you can say, what configuration can be wrong.
But I think, the "END" Keyassignt to Intercom and VOXATC is the only configuration that I must do.

And one question, the Intercom simulate a "KEY PRESS" with the Key from the configuration.
If I set the Intercom to e.g. "F12" and press the RAD key, then P3D must change the view?
Regards
Dieter

A320 cockpit Prepar3d v5.4 with full voice control for ATC and ground crew
Developer of EWD Overlay and Home Cockpit Builder
dkreiskott
Posts: 211
Joined: Thu Dec 15, 2022 11:11 am
Location: Germany \ near EDDL
Contact:

Re: Intercom PTT Key

Post by dkreiskott »

Hi JL,

okay I found the error, it is the Intercom.exe.
If I assign Keys A to Z or F-Keys the RAD Switch is working.
But if I assign END or INSert the Intercom isn't working.

The END Key is a must have, for acting with VOXATC and MCE on the same Machine in Prepar3D.
The END Key is hardcoded so I can't change this key in MCE
In this case I need your help.
Regards
Dieter

A320 cockpit Prepar3d v5.4 with full voice control for ATC and ground crew
Developer of EWD Overlay and Home Cockpit Builder
jeehell
Site Admin
Posts: 414
Joined: Thu Nov 03, 2022 10:14 am

Re: Intercom PTT Key

Post by jeehell »

I checked and both the END/insert keys work for me?
How did you make your tests?
Could it be that some apps are running with admin rights (mine) and others not? as far as I can tell this DOES make a difference and there is nothing I can do here?
Regards,
Jean Luc
dkreiskott
Posts: 211
Joined: Thu Dec 15, 2022 11:11 am
Location: Germany \ near EDDL
Contact:

Re: Intercom PTT Key

Post by dkreiskott »

Hi JL,

that's strange.
I have set the "M" key as the PTT key in the intercom and in VOXATC.
Then it works perfectly.
But if I set the END key in both programs, it doesn't work with the RAD switch.
However, if I press the END key on the keyboard, it works.
And yes, both the starter.exe and P3D.exe are started with administrative rights.
If it works for you, I don't understand why it doesn't work for me. That is not conclusive.

I will check the following: in P3D I will replace F11 (outside view) with END.
If the END button works as a PTT, the P3D would have to change the view.
Regards
Dieter

A320 cockpit Prepar3d v5.4 with full voice control for ATC and ground crew
Developer of EWD Overlay and Home Cockpit Builder
User avatar
Capt. PERO
Posts: 102
Joined: Fri Nov 04, 2022 3:23 am
Location: Germany
Contact:

Re: Intercom PTT Key

Post by Capt. PERO »

dkreiskott wrote: Sun Sep 10, 2023 12:44 pm Hi JL,

that's strange.
I have set the "M" key as the PTT key in the intercom and in VOXATC.
Then it works perfectly.
But if I set the END key in both programs, it doesn't work with the RAD switch.
However, if I press the END key on the keyboard, it works.
And yes, both the starter.exe and P3D.exe are started with administrative rights.
If it works for you, I don't understand why it doesn't work for me. That is not conclusive.

I will check the following: in P3D I will replace F11 (outside view) with END.
If the END button works as a PTT, the P3D would have to change the view.
You may rewrite the "M" key to "END" key in LUA or FSUIPC. Thats not awesome but could be a solution.
Viele Grüße / with best regards,
Peter

: : : aviation.pero-online.de
Developer of SIMstarter NG P3D & Homecockpit Builder
jeehell
Site Admin
Posts: 414
Joined: Thu Nov 03, 2022 10:14 am

Re: Intercom PTT Key

Post by jeehell »

Can you test with another application like notepad? The cursor should move to the end of the line if the key is sent...
It is possible that your keyboard has a special key code for end key as well. Or that P3D uses caps or another modifier?
Regards,
Jean Luc
michael1508
Posts: 179
Joined: Fri Nov 04, 2022 4:07 pm
Location: EDDL

Re: Intercom PTT Key

Post by michael1508 »

Also consider, that some keys do function as repeative ( like „m“), while others are one-off keys, which send their signal not contiounusly. Could be, that „end“ key falls into that category. Might be, that this has an impact here.

I am using „M“ and it works perfectly for me. For external coms as well as the Int coms.
Regards
Michael

P3D v5.4 | Skalarki | 3 projector 180° screen | i9-13900k | RTX 4080
dkreiskott
Posts: 211
Joined: Thu Dec 15, 2022 11:11 am
Location: Germany \ near EDDL
Contact:

Re: Intercom PTT Key

Post by dkreiskott »

Hi MIchael,

thats not right.
All Keys on the Keyboard has a repeat function if you press it and don't release.
Regards
Dieter

A320 cockpit Prepar3d v5.4 with full voice control for ATC and ground crew
Developer of EWD Overlay and Home Cockpit Builder
dkreiskott
Posts: 211
Joined: Thu Dec 15, 2022 11:11 am
Location: Germany \ near EDDL
Contact:

Re: Intercom PTT Key

Post by dkreiskott »

Hi Jean Luc,

the hint with Notepad is good, I didn't think about it and read your mail too late.
I did it with the P3D as I described above. I did several tests, but this is getting completely crazy now, so I describe it precisely.

I have two side sticks and two hand micros with PTT button.
All four are joystick buttons that "press" the END button with FSUIP as a button press event.
All four joystick buttons work correctly, VOXATC responds to these four buttons.


First test:
In the P3D configured the external view from F11 to END.
When the RAD switch is pressed, P3D switches to the external view.
If I press one of the four joystick buttons, the external view also switches.
With the joystick button VoxAtc reacts, with the RAD Switch not!
I find this very strange.

Second test:
I wrote a lua script that simulates the "END" button.
In FSUIPC I assigned this Lua script to the key M on keypress.
If I now press M on the keyboard, the external view switches in the P3D and VoxAtc also reacts to it.
In the next step I have also assigned the M key in the intercom.
If I now press the RAD switch, VoxAtc also reacts next to the external view in the P3D.

Your hint with the special keycode I found good, so I wrote myself a small program to read this out, because I use a small keyboard similar to that of a notebook. But the END key sends the normal value (35) like any other keyboard.

Now, besides the key code, I have to consider that I configure FSUIPC as well as VoxATC and the intercom with the same keyboard.
And if I assign another key to the intercom as described above and simulate the END key via Lua script it works. However, this is not a solution.

Because except for the intercom I have no problems to assign the END key correctly.

There must be something wrong.
Regards
Dieter

A320 cockpit Prepar3d v5.4 with full voice control for ATC and ground crew
Developer of EWD Overlay and Home Cockpit Builder
dkreiskott
Posts: 211
Joined: Thu Dec 15, 2022 11:11 am
Location: Germany \ near EDDL
Contact:

Re: Intercom PTT Key

Post by dkreiskott »

Capt. PERO wrote: Sun Sep 10, 2023 3:35 pm
You may rewrite the "M" key to "END" key in LUA or FSUIPC. Thats not awesome but could be a solution.
Hi Peter,

Yes, that's exactly what I did.
However, this does not seem to work correctly with FSUIPC and LUA. Either there is a time offset or if you have to press the RAD button a second time relatively quickly, which is not so rare with radio, then it does not work. Then you always have to wait a moment.
Regards
Dieter

A320 cockpit Prepar3d v5.4 with full voice control for ATC and ground crew
Developer of EWD Overlay and Home Cockpit Builder
dkreiskott
Posts: 211
Joined: Thu Dec 15, 2022 11:11 am
Location: Germany \ near EDDL
Contact:

Re: Intercom PTT Key

Post by dkreiskott »

HI JL,

after all the test I have done now, something becomes very clear.
the intercom sends the END key as long as it is an external software.

But VoxAtc is not a program what I can start, so neither *.com nor *.exe. VoxATC is an ingame software in the P3d.
The program is loaded via the dll.xml.

This in turn explains why the buttons assigned via FSUIPC work and the intercom does not.
What is also confirmed by the LUA scripts.

I assume that the keystroke is not passed on to the simulator. Otherwise the behavior of the intercom cannot be explained.

But it would be more than desirable that the PTT key also arrives in the simulator.
Regards
Dieter

A320 cockpit Prepar3d v5.4 with full voice control for ATC and ground crew
Developer of EWD Overlay and Home Cockpit Builder
jeehell
Site Admin
Posts: 414
Joined: Thu Nov 03, 2022 10:14 am

Re: Intercom PTT Key

Post by jeehell »

Unfortunately I use the windows API to send emulated keyboard inputs. You can check that with the little app you wrote.
How P3D handles that internally before forwarding or not to voxatc, I cannot really check. Unless you can provide me some specs/ documentation from voxatc....
Regards,
Jean Luc
User avatar
Soarbywire
Posts: 33
Joined: Fri Nov 04, 2022 12:23 am
Location: Sydney, Australia
Contact:

Re: Intercom PTT Key

Post by Soarbywire »

Just a tip - when I was playing around with the intercom application you have to either set all programs (including P3D, Vpilot) all to administrative rights, or no administrative rights, for the key to transmit.
dkreiskott
Posts: 211
Joined: Thu Dec 15, 2022 11:11 am
Location: Germany \ near EDDL
Contact:

Re: Intercom PTT Key

Post by dkreiskott »

Look at my posts. All Programms has admin rights!
Regards
Dieter

A320 cockpit Prepar3d v5.4 with full voice control for ATC and ground crew
Developer of EWD Overlay and Home Cockpit Builder
Post Reply