Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

long-press + double-press (TripleUse.lua) in LINDA GUI

Featured Replies

Hi ScotFlieger, hi devs,

I was fiddling around with Pete Dowsons "TripleUse.lua" which allows to assign also functions to single press, release like in LINDA and also doublePress and longPress functions.

As i found that thread and figured out, that it is not possible to contribute via Fork + PR, i'd kindly ask whether adding those double-press and long-press functions for assignment in LINDA as it would be ways more convenient than doing that in lua scripts.
Do you think that might be a future feature?

Best regards,  Joe

I was not aware of the TripleUse.lua and it is not something that has been requested to date. I can see that such a change would require a major redesign of the GUI to allow the additional actions to be assigned.

With 3 active versions of LINDA to support different FSUIPC/Flt Sim combinations, I have no plans to do any major code changes such as this. 

Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

  • Author

Hi Andrew,

Thanks for your reply anyway.

But probably you can give me a hint, how i can access the functions defined in LINDA\lib\lib-msfs.lua from other lua scripts.
See https://forum.simflight.com/topic/82630-problem-with-tripleuselua/?do=findComment&comment=553730 for details.

I'm trying to avoid copy-paste-cloning of code as it is never a good idea.
So if i could access "your" msfs functions from my TripleUse.lua directly it would help me a lot. And probably others as well.

Best regards to Scotland and have a great new year!

Joe

Edited by joeherwig

Any LINDA LUA function can be called from elsewhere by inserting the function name into you code followed by round brackets. eg. myFunction(). Note that LUA is case sensitive and it must be typed as written.

Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

  • Author

Hi Andrew,

I had tried that before of course...
Finally i only had to include two of your files in my TripleUse.lua:

dofile([[.\LINDA\libs\lib-msfs.lua]])
dofile([[.\LINDA\system\common.lua]])
...

did the magic. 🙂

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.