Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.
You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks!
The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!
See you on our MobiFlight Community Discord server.
A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.
The forum is still providing a lot of good content, hence we keep this information accessible.


- das script von Pete habe ich zumindest erfolgreich ausprobieren können
Dafür habe ich entsprechend ein .lua file angelegt und dort am ende event.button die variablen auf einen der Hotas Buttons gelegt. Das script tut dann genau das was es soll nachdem ich es auch in ipcReady gestartet hatte.
ABER jetzt wollte ich das ganze eben auch mal über den von Dir genannten virtuellen Button probieren
Als erstes habe ich versucht dem event.button nun Joystick 64 - Button 1 zu assignen. Das Script läuft da auch ohne Probleme an und wartet augenscheinlich auf diesen Button.
Um jetzt diesen virtuellen Button zu drücken, war meine Idee ein weiteres Lua script zu schreiben. Hierfür habe ich ipc.btnPress(1) verwendet. Dieses Script habe ich via LINDA auf einen Hotas Button gelegt in der Hoffnung das jetzt die Kette - LINDA --> ipc.btnPress(1) --> event.button --> pete's lua script abläuft.

Erstmal soweit gut.... Du hast auch verstanden das der Script selbst immer läuft und NICHT auf einen Button gelegt wird per Linda oder FSUIPC. ( So verstehe ich dich zumindest)
Du hast offenbar im Script von Pete die Werte "joy = 64" und "btn=1" abgeändert ...... Auch das ist richtig !
Aber warum versuchst du jetzt auf deinen Hostas Button ein Script zu legen, der diesen "Virtuellen" Button von Joystick 64 drückt ?
