December 26, 20205 yr 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
December 27, 20205 yr 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
December 29, 20205 yr 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 December 29, 20205 yr by joeherwig
December 29, 20205 yr 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
December 29, 20205 yr 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. 🙂
December 29, 20205 yr Author In case, you're interested in what i did...https://github.com/joeherwig/msfs-fsuipc-lua-scripts
Archived
This topic is now archived and is closed to further replies.