chrilith Posted March 13, 2016 Posted March 13, 2016 Hi there! I'm proud to announce the release of the new version of the saitek Lua module now called "Passerelle". I just released 2 new versions of my Lua module. One which is a code cleanup with limited changes to the version you know about. And a new one with a new handling of the callbacks to prevent crashs. Indeed, with the legacy mode, a callback may corrupt the Lua stack because it is executed asynchnously. To know more about this module check this thread: http://forums.eagle.ru/showthread.php?t=94174 Download them here: https://github.com/chrilith/Passerelle/releases Documentation is here: https://github.com/chrilith/Passerelle/wiki Changes are here: https://github.com/chrilith/Passerelle/wiki/Roadmap Do not hesitate to give feedback. http://www.passerelle.io/
chrilith Posted March 18, 2016 Author Posted March 18, 2016 (edited) A new feature is now in preview. You can now stream a window to your Flight Panel Instrument. This simple script shows you how to stream the task manager window. require "passerelle" passerelle.addPage("SFIP", 1, 1, true); function capture() local bitmap = passerelle.captureWindow("TaskManagerWindow", nil, 0, 0, 100, 100); passerelle.setImage('SFIP', 1, 1, 0, bitmap); collectgarbage(); end while true do capture(); passerelle.sleep(50); end This preview version can be downloaded from here: https://github.com/chrilith/Passerelle/releases The updated documentation is here: https://github.com/chrilith/Passerelle/wiki Chris Edited May 30, 2016 by chrilith
pepin1234 Posted May 30, 2016 Posted May 30, 2016 (edited) A new feature is now in preview. You can now stream a window to your Flight Panel Instrument. This simple script shows you how to stream the task manager window. require "passerelle" passerelle.addPage("SFIP", 1, 1, true); function capture() local bitmap = passerelle.captureWindow("TaskManagerWindow", nil, 0, 0, 100, 100); passerelle.setImage('SFIP', 1, 1, 0, bitmap); collectgarbage(); end while true do capture(); passerelle.sleep(50); end Check the installation procedure here: https://github.com/c...light-simulator This preview version can be downloaded from here: https://github.com/c...erelle/releases The updated documentation is here: https://github.com/c...Passerelle/wiki Chris All the links from above are down. Do you can import the Mig-21 accelerometer G's instrument from Mig-21 to FIP? If yes do you have some media to show? Thanks Edited May 30, 2016 by pepin1234 [sIGPIC][/sIGPIC]
chrilith Posted May 30, 2016 Author Posted May 30, 2016 Indeed, I updated the links. Those from the previous message were good. I can't help with the Mig-21 but as long as you know how to access this variable from a DCS Lua script you may be able to do what you want with it.
Recommended Posts