I am using the x-touch mini with MSFS. Setting up a profile for the C172. For most switches I can read the value of the current switch position and then write an RPN script to switch on/off with a short/long push on the same button. This works well as I can also set the light on the x-touch for that button to be on or off at the same time.
One switch does not seem to have a LVAR. There are a few possible candidates including (A:GENERAL·ENG·FUEL·PUMP·SWITCH,·Bool) and (A:GENERAL·ENG·FUEL·PUMP·ON,·Bool). None of them change value when the fuel pump switches between off and on.
I can toggle the fuel pump on off with (>K:TOGGLE_ELECT_FUEL_PUMP), but the value (0,1) of the BOOL I cannot find anywhere to read this. It's possible the BOOL is not updated as the switch moves and just stays at zero. If anyone has a solution to read the value of the fuel pump position be good to know.
Any solution to have the light on the x-touch change as the fuel pump is switched on/off most welcome.