Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Flightgears PTT hotkeys for swift #244

Open
hbeni opened this issue Dec 17, 2023 · 4 comments
Open

Use Flightgears PTT hotkeys for swift #244

hbeni opened this issue Dec 17, 2023 · 4 comments
Labels
enhancement New feature or request Flightgear

Comments

@hbeni
Copy link

hbeni commented Dec 17, 2023

Hi,
According to the comment:

Separate COM volumes can now be set in the UI and can be controlled from G and XP.
Available with 0.9.7.149 and 0.9.8.36 (or later).

Originally posted by @ltoenning in #100 (comment)

Controlling the COM volume should be possible by the insim values.
And indeed, they seem to be transmitted to swift:
grafik

I did just connect my first time to VATSIM and listened to radio calls from EDDM, which worked fine.
However, the incoming radio messages where always the same volume, regardless what I did set in FlightGear.
Changing them in swifts gui did work.

What am I doing wrong? (or is there something broken?)


Also just as an idea; flightgear has built in PTT buttons.
That could be used as PTT enabling the radios in swift, so for example simulation of the C182s' GMA340 audio panel (or other aircraft simulating complex audio panels) could be supported.

@hbeni
Copy link
Author

hbeni commented Dec 17, 2023

OK....
nevermind, sorry for the noise.

I had "COM integration" not enabled. Ticket that and it worked.
grafik


InSim PTT does still not work, however.

@hbeni
Copy link
Author

hbeni commented Dec 17, 2023

InSim PTT does still not work, however.

(I do not talk about the PTT hotkey binding in swift; which needs read access to /dev/input/event* (provided by group inputin debian 12);
but the /controls/radios/comm-ptt/ FGCom property, which contains:

/controls/radios/comm-ptt/ Bedeutung
0 kein TX
1 TX COM1
2 TX COM2

@ltoenning ltoenning changed the title Flightgear COMs volume and PTT Use Flightgears PTT hotkeys for swift Dec 18, 2023
@ltoenning ltoenning added enhancement New feature or request Flightgear labels Dec 18, 2023
@ltoenning
Copy link
Contributor

/controls/radios/comm-ptt/ Bedeutung
0 kein TX
1 TX COM1
2 TX COM2

This would indeed be an interesting feature. But it would also require internal changes to the simulator plugin interface because this feature is not implemented for any simulator so far. We'll keep it on the list 👍

which needs read access to /dev/input/event* (provided by group inputin debian 12

Just as a side note: We recently updated our docs regarding this. We now recommend a different method to allow reading input from a specific device using udev rules for security reasons (see https://swift-project.org/troubleshooting/linux_hotkeys/)

@hbeni
Copy link
Author

hbeni commented Dec 18, 2023

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Flightgear
Projects
None yet
Development

No branches or pull requests

2 participants