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.

Multiple functions with one key press

Featured Replies

Great job on Linda.I am using the MCP combo and would like to program one key on the MCP to perform a Lvar function and a keyboard combination at the same time.For instance, I would like to turn on the taxi light and at the same time turn on FSpassengers music (Ctrl + Shift + T).Is this possible and how would I go about it.Thanks

Thank you!At present, this is not directly possible, but it is definitely (is definitely right, Artem?) on the to do list ... but it needs a bigger workaround with the LINDA GUI. So do not aspect this with one of the next updates.Would take some time ...A workaround would be to make your on LUA script for this, means just copy out the both codes and put it into a single function and assign this.If ou don't know how to do, just drop a note, we will show you the lines here ...

Guenter Steiner
--------------------------------------------------------------------------------------

Betatester for: A2A, LORBY, FSR-Pillow Tester
--------------------------------------------------------------------------------------

  • Author
Thank you!At present, this is not directly possible, but it is definitely (is definitely right, Artem?) on the to do list ... but it needs a bigger workaround with the LINDA GUI. So do not aspect this with one of the next updates.Would take some time ...A workaround would be to make your on LUA script for this, means just copy out the both codes and put it into a single function and assign this.If ou don't know how to do, just drop a note, we will show you the lines here ...
Thanks for responding,I have made a few keys that have multiple codes in one function but not with a keyboard combination. I don't know how to code that.For example, I have a start up function that turns on both batteries, both avionics and turns on the no smoking sign.Could you explain how the keyboard combination (Ctrl + Shift + T) would look in the following codefunction Startup_int () ipc.writeLvar("L:RightBatSwitch", 1) ipc.control(66587, 8028) ipc.sleep(250) ipc.writeLvar("L:LeftBatSwitch", 1) ipc.control(66587, 8028) ipc.writeLvar("L:RightAvionicsMasterGuard", 1) ipc.control(66587, 8026) ipc.sleep(400) ipc.writeLvar("L:RightAvionicsMaster", 1) ipc.control(66587, 8028) ipc.sleep(100) ipc.writeLvar("L:LeftAvionicsMasterGuard", 1) ipc.control(66587, 8026) ipc.sleep(400) ipc.writeLvar("L:LeftAvionicsMaster", 1) ipc.control(66587, 8028) ipc.sleep (300) ipc.writeLvar("L:NoSmokingSigns", 1) ipc.control(66587, 8028) ipc.sleep(10) ipc.control(66587, 74)endThanks

I'm only at my laptop now, so I just explain the things out of my brain...Have a look into the LINDA library of AivlaSoft EFB (linda/libs/lib-aivlasoft.lua)there you find ome keypressesits simple:the LUA code is -- CTRL + SHIFT + U ipc.keypress(85,11)so STRG+SHIFT+T seems to be (84, 11).THese keys are explained in the FSUIPC advanced users manual - as I say, its just out of my brain.You can make now your own library and functions as you did with the startup_int already and insert the ipc.keypress

Guenter Steiner
--------------------------------------------------------------------------------------

Betatester for: A2A, LORBY, FSR-Pillow Tester
--------------------------------------------------------------------------------------

  • Author
I'm only at my laptop now, so I just explain the things out of my brain...Have a look into the LINDA library of AivlaSoft EFB (linda/libs/lib-aivlasoft.lua)there you find ome keypressesits simple:the LUA code is -- CTRL + SHIFT + U ipc.keypress(85,11)so STRG+SHIFT+T seems to be (84, 11).THese keys are explained in the FSUIPC advanced users manual - as I say, its just out of my brain.You can make now your own library and functions as you did with the startup_int already and insert the ipc.keypress
Thank you for being so generous with your time.
  • Commercial Member

The other workaround is to assign and call the Lua action form LINDA and at the same time make an assignment in the FSUIPC for the same button to simulate the keypress. But this will work only in case of joysticks assignments.And, yes, I'm thinking about the multiple actions assignments in the future versions.

Artem Crum, EASA PPL
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
LINDA Lua Integrated Non-complex Device Assigning
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

Thank you for being so generous with your time.
you are very welcome!

Guenter Steiner
--------------------------------------------------------------------------------------

Betatester for: A2A, LORBY, FSR-Pillow Tester
--------------------------------------------------------------------------------------

Create an account or sign in to comment

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.