July 5, 201114 yr 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
July 5, 201114 yr 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 --------------------------------------------------------------------------------------
July 5, 201114 yr 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
July 5, 201114 yr 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 --------------------------------------------------------------------------------------
July 6, 201114 yr 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.keypressThank you for being so generous with your time.
July 6, 201114 yr 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•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
July 6, 201114 yr 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