Jump to content
The simFlight Network Forums

Button & Switch Assignment - Select for FS control not working


Recommended Posts

Posted (edited)

I want to assign a hardware switch to an add-on aircraft switch for which I cannot find any matching binding in MSFS itself.

I am just starting out with FSUIPC and was amazed to actually find the control in the "Control sent when button pressed" list.

However nothing happens when pressing the switch, so I tried the keypress option with a control that does have a MSFS binding.

This does work, so ... am I doing something wrong or is it possible that the control is not supported eventhough it is in the list.

I'm sure I selected the right aircraft, because of all the relevant specific other controls in the same aircraft list.

To be clear; Apparently the add-on aircraft (Just Flight Hawk T1) created its own list of controls beginning with HT1.

 

Edited by Shorty01
Clarification
Posted

I am slightly confused by your post...especially the title...

11 hours ago, Shorty01 said:

To be clear; Apparently the add-on aircraft (Just Flight Hawk T1) created its own list of controls beginning with HT1.

Aircraft do not create there own controls. There are presets for the HT1 (so, controls beginning with Preset:HT1... These are MobiFlight presets (see https://hubhop.mobiflight.com/presets/). To use presets, you must have the FSUIPC WASM module installed and enabled. I suspect that you have not enabled the WASM - do this from Add-ons->WASM->Enable (you only need to do this once). Once enabled, please disconnect and reconnect to MSFS (or restart FSUIPC7).

Please see the section on the WASM in the Advanced User Guide - information on using lvars, hvars and presets is given there.

You should also use the logging facilities provided by FSUIPC to trouble-shoot any issues. You can enable logging for various facilities from the Log menu, and open the logging console to see what is happening when you press a button (i.e. if a control or preset is being activated).

John

Posted

Hi John,

You must have that "Here we go again feeling" but I've been reading and trying to get a grasp of things ...  It's a bit much and I don't suspect to need it all.

I have Virpil control panels, so no Arduino DIY for me.

But ... I have got it working. Don't know what changed ... because I already had the WASM enabled.

However I went to hubhop and downloaded all events for the Hawk T1 again, emptied the "events.txt" file and made a "myevents.txt" file, so I could find my own controls more easily. 

I am happy! 🤗

 

Thank you for your patience John.

 

Posted
6 minutes ago, Shorty01 said:

But ... I have got it working. Don't know what changed ... because I already had the WASM enabled.

Ok, but strange...would be useful yo know why it wasn't working previously though...

9 minutes ago, Shorty01 said:

However I went to hubhop and downloaded all events for the Hawk T1 again, emptied the "events.txt" file and made a "myevents.txt" file, so I could find my own controls more easily. 

Thats a good idea - there are now far too many entries in the control menu with all the available presets. I am thinking of separating these and make them accessible on a new checkbox instead....

But I'm happy that you now have it working...😀

Cheers,

John

  • 2 weeks later...
Posted

One more question…

I was hoping to find all my events from hubhop, but unfortunately the Aeroplane Heaven P-51 is not on their list.

Is there a way to find out what the event for a certain airplane control is? So I could make my own events.txt file.

Posted
1 hour ago, Shorty01 said:

Is there a way to find out what the event for a certain airplane control is?

Not easily if its not using a standard control/event, which standard event logging would show. You need to delve into the aircraft code - I can't help you with this. I suggest you ask about this (and your aircraft) on the MobiFlight discord channels - someone there may be able to help.

John

Posted

You would think a carburetor heat switch is a pretty standard control. But then there are other switches like Oil Dillution which have no binding, so …

But the Discord is a good idea.

Thanks John

Edwin

Posted
9 hours ago, Shorty01 said:

You would think a carburetor heat switch is a pretty standard control.

You could check if it is using the standard control by activating logging for Events, open the logging console and flip the switch in the UI to see if anything is logged. You could also try listing the lvars to see if any look appropriate, and if so see if the value of that lvar changes when you flip the switch. This should help determine if there is a standard control or lvar that you can use to control the switch.

John

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.