Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello,
 

Can you help me ... I don't know how to do something simple :

For exemple : User clic on zoom mfd button in simulator cockpit. I want to reproduce this action by the click of a joystick button.

I imagine a way to "spy" the simulator and know what to send to the simulator when joystick button preesed,

I search with https://hubhop.mobiflight.com/presets/ But this doesn't help me,

Posted
17 hours ago, Guilli said:

I imagine a way to "spy" the simulator and know what to send to the simulator when joystick button preesed,

This really depends on the function/control. Generally you would use logging - set logging for Events (Log -> Events) and open the logging console (Log -> Open Console).
If you see lots of events logged when not doing anything (many MSFS aircraft continually emit certain events) then you should use the DontLogThese ini parameter to stop such events being logged (see Advanced User guide). Then click the button/switch/etc in the VC and see if anything is logged, and if so you can use that. You can also log Input Events with a corresponding ini parameter of DontLogTheseIE.

If standard (or known custom) controls are not used, then you can try inspecting the model behavior to see how how button/switch is implemented - see the following on how to do this:
    MSFS2020: https://www.badcasserole.com/uncovering-input-events-using-the-msfs2020-model-behavior-dialog/
    MSFS2024: https://www.badcasserole.com/uncovering-input-events-using-the-msfs2024-model-behavior-dialog/

18 hours ago, Guilli said:

For exemple : User clic on zoom mfd button in simulator cockpit. I want to reproduce this action by the click of a joystick button.
...

I search with https://hubhop.mobiflight.com/presets/ But this doesn't help me,

What aircraft/avionics system? There are many presets for this, e.g.
   for the G1000 in MSFS2020:  AS1000_MFD_RANGE_DEC and AS1000_MFD_RANGE_INC
   for the G1000 in MSFS2024: MFD RANGE ZOOM - Dec and MFD RANGE ZOOM - Inc
   for the ATR: MSATR MFD CPT RANGE INC + and MSATR MFD CPT RANGE DEC -
   etc

So it really depend on the aircraft / avionics system being used.

 

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.