Jump to content
The simFlight Network Forums

Saitek Multi Panel and Acceleration of AP settings


Recommended Posts

I have just purchased the Saitek Multi Flight Panel, and if you adjust the AP Altitude it sends the following commands to FSX:

597687 *** EVENT: Cntrl= 65892 (0x00010164), Param= 0 (0x00000000) AP_ALT_VAR_INC

597718 *** EVENT: Cntrl= 65892 (0x00010164), Param= 0 (0x00000000) AP_ALT_VAR_INC

602788 *** EVENT: Cntrl= 65892 (0x00010164), Param= 0 (0x00000000) AP_ALT_VAR_INC

My query is, to adjust altitude or heading by a vast amount it requires twsiting the knob round and round for some time (eg. going from heading of 3 to 183 or altitude of 4500 to FL30)

Is there some way of using FSUIPC to trap these commands and either apply acceleration or something similar to enabled fast changes?

Link to comment
Share on other sites

Is there some way of using FSUIPC to trap these commands and either apply acceleration or something similar to enabled fast changes?

You can trap FS events like that in a Lua plug-in, and then issue whatever controls you like -- or manipulate FS offsets to accomplish even more. The plug-in can be started automatically for the whole FS session by putting the code into the FS Modules folder in a file called "ipcReady.lua".

The latest Lua library documentation is provided in the Announcements above. That updates the copies already installed by the FSUIPC installer. The Lua library facility you want is the one called "event.control". Have a look. I can help if you don't understand anything, but take a look at the sample Lua programs provided first. The code for the Lua plug-in would be quite short and not complicated. I'd rather help you do things rather than do them for you as you might then be able to do a lot more as the needs arise.

Regards

Pete

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.