Most of the commonly reported issues and questions are answered in the Frequently Asked Questions (FAQ) option under the Support menu of this website.
*** PLEASE NOTE ***
Your forum account is not the same as the account used in the shop. They are completely separate accounts.
1st December: A new version of the GoFlight Interface Tool for MSFS is now available.
12th November: A new version of the GoFlight Interface Tool for X-Plane is now available.
6th June: A new version of Virtual Flight Sim Hardware is now available (huge update)
21st November: A new version of the GoFlight Interface Tool for FSX/FSXSE/P3D is now available.

P8 ... anyone have a sample of how to get the Button to toggle a state?

I've got my Bespoke events setup and working (Detector test) setup an ON state and an OFF state.  However I'm having a hard time trying to figure out how to get the P8 button to toggle the states.

It seems On = ButtonDown while Off = ButtonUp ... so I can't set the Bespoke event to either state otherwise the button just goes ON the OFF immediately when I press and release the button.

The button I testing with is the CS 777 APU Gen button, press the button in and it goes ON, press the button again and it goes OFF.  Pretty simple ... but I sure can't seem to get the toggle state mapped to my P8 button.  I can use two separate buttons to accomplish On/Off, but that's not what I really want to do.

Anything other than a Button Action = NOTHING doesn't work at all.

Any hints or samples?

Cheers, Rob.

Answers

  • edited November -1
    SOLVED ... I was able to setup the logic in the bespoke to get the toggle working ... I put up a quick web page for anyone interested in looking at what I did:  GFI P8 Toggle

    Cheers, Rob.
  • Hi Rob

    I would like to see how you did that but link is broken.

    Thanks
    Terry
  • Hi Terry,

    Here ya go:

    <Event Name="BE_APU_GEN_TOGGLE" ID="5" Backgnd="False">
        <Task ID="0" Type="If" Var="O03_002_BUT" Operator="EQUALS" Value="1" />
        <Task ID="9" Type="Goto" LabelID="8" />
        <Task ID="13" Type="If" Var="O03_002_BUT" Operator="EQUALS" Value="0" />
        <Task ID="14" Type="Goto" LabelID="10" />
        <Task ID="8" Type="Label" Name="OFF" />
        <Task ID="1" Type="Set" Var="O03_002_BUT" Data="0" />
        <Task ID="12" Type="Goto" LabelID="11" />
        <Task ID="10" Type="Label" Name="ON" />
        <Task ID="5" Type="Set" Var="O03_002_BUT" Data="1" />
        <Task ID="11" Type="Label" Name="EXIT" />
       </Event>


    Cheers, Rob.

  • Hi Rob

    Thank you!
    Terry
Sign In or Register to comment.