Luamacros for FS2020
Luamacros for FS2020
Hello Peter. Will you be working on the luamacros version for FS2020? The SDK is already available so we could try assigning commands to a second keyboard. Greetings.
Re: Luamacros for FS2020

Sure I expected this question...
I already had a look into SDK but seemed to be not completed yet - especially the SimConnect part. I may give it another try.
It would be little bit more complicated that FSX SimConnect connector in HidMacros but I'm not saying its impossible.
Anyway I'm focused to Zibo Mod in Xpl-11 these days so not sure when I start FS2020

Petr Medek
LUAmacros author
LUAmacros author
Re: Luamacros for FS2020
Starting slowly but seems that FS2020 could be supported.
Find experimental build here https://github.com/me2d13/luamacros/rel ... poc-events, just download the zip file and run exe.
You should be able to send SimConnect events with code like
So even parameters are supported. Event list and their support in FS2020 can be found in FS SDK.
Some quickstart lua script is here: https://github.com/me2d13/luamacros/blo ... s/fsxx.lua assigning landing lights to L key and tuning sample frequency at NAV1 to N key.
Some notes & limitations
Find experimental build here https://github.com/me2d13/luamacros/rel ... poc-events, just download the zip file and run exe.
You should be able to send SimConnect events with code like
Code: Select all
lmc_fs_event('LANDING_LIGHTS_TOGGLE')
lmc_fs_event('NAV1_STBY_SET', 0x11480)
Some quickstart lua script is here: https://github.com/me2d13/luamacros/blo ... s/fsxx.lua assigning landing lights to L key and tuning sample frequency at NAV1 to N key.
Some notes & limitations
- only events are supported, vars can come later
- I had to switch luamacros in this build to pure 64bit application but I have problems with DirectX and game devices. So you can't read & use joysticks in this release. I mean to interact with luamacros, joystick in game is working
- I haven't tested Xplane support in this 64bit build and even didn't include plugin into the zip file. This is fsxx test build only
Petr Medek
LUAmacros author
LUAmacros author
Re: Luamacros for FS2020
THANK YOU VERY MUCH!!! I will be testing. Keep developing it, Peter. Thanks. 

-
- Posts: 13
- Joined: 03 May 2019, 01:17
Re: Luamacros for FS2020
D:\MSFS SDK\Documentation\03-Content_Configuration\Variable_Lists
There should be some PDFs that have all of the Events.
Hope this helps!
Brady
There should be some PDFs that have all of the Events.
Hope this helps!
Brady