I'm in the process of setting up a VRInsight panel for my msfs needs, and my plan is as follows. There are two rotary knobs I want to bind to MFD/PFD map zoom, since the knobs have a limited range as does the map zoom, and since most encoders are already spoken for.
To that end I've found this thread
in which Pete Downson posted an example lua file I mean to support for my ends, eventually figure out a way to create "steps" within the range rather than update map zoom on every little rotary change. My question though is, using an external .evt file (also from these forums), how do I need to call them in ipc.control()? I've found the documentation for the function, but it basically just says to call the numerical event ID. Does that mean that if say, I want to call event #8 in the .evt file, I'll simply go ipc.control(8)? I read up on the lua documentation but havent noticed information specific on how to call event IDs from evt files. Some help would be greatly appreciated, I should be able to figure the rest out from there, I've got some scripting experience in another - relatively specific - language for years, lua should be straightforward enough to pick up.