Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello,

The PM Glass Cockpit lights up all his screens, when FSX-BAT MASTER is ON.

That´s ok, but I want to bypass this,

because i want to switch on the displays separately after FSX-BAT MASTER switched "on".

For this i programmed a Goflight T8 Module as follows:

In the fsuip facility "Buttons + Switches" i configure the rocker switch from the Goflight T8 as follows:

PM Elec ND Off (Control sent when button pressed)

PM Elec ND On (Control sent when button released)

I decided to configure the rocker switch(from the Goflight T8) in the ON-State

to an OFF command(PM Elec ND Off),

because i thought FSUIPC scans at startup all connected devices for their states of their buttons(pressed or released)...

But it seems, FSUIPC doesn´t scan the (Goflight)devices at startup.

I have to switch the rocker switch from the Goflight T8 one time, than the state is recognized and it works.

On the other hand, FSUIPC well recognizes a "Button in pressed state" immediately after FSX start,

when i use a simple HID Device(Joystick Controller).

What can i do here ?

Thomas

Posted
i thought FSUIPC scans at startup all connected devices for their states of their buttons(pressed or released)...

But it seems, FSUIPC doesn´t scan the (Goflight)devices at startup.

I have to switch the rocker switch from the Goflight T8 one time, than the state is recognized and it works.

On the other hand, FSUIPC well recognizes a "Button in pressed state" immediately after FSX start,

when i use a simple HID Device(Joystick Controller).

FSUIPC responds to inputs from GoFlight devices. It does not really "scan" them. Same really with HID devices -- it is just that an "on" signal represents a change, and changes are signalled. The GoFlight interface does not do that.

You can either scan them yourself using a Lua plug-n, or, perhaps more simply, use the "InitialButton" option in the INI file (see Advanced Users guide). Or have a macro performng your actions which is performed initially via the [Auto] secion in the INI.

Another thing you could try is reversing the meaning of the rocker switch?

Regards

Pete

Posted
an "on" signal represents a change, and changes are signalled. The GoFlight interface does not do that.

Ok, I didn´t know that.That´s the point.

use the "InitialButton" option in the INI file (see Advanced Users guide)

That´s the solution for me, and it works,

but how can i add 2 Initial Buttons?

Now i have programmed 2 rocker switches of the GF-T8 as follows:

PM Elec ND ON (Control sent when button pressed)

PM Elec ND OFF (Control sent when button released)

PM Elec EICAS ON (Control sent when button pressed)

PM Elec EICAS OFF (Control sent when button released)

I tried using numbering 1....2.

But this doesnt seem to work.

[buttons]

ButtonRepeat=20,10

InitialButton1=109,0

InitialButton2=109,1

1=P109,0,C2968,0

3=P109,1,C2969,0

4=U109,1,C2985,0

6=U109,0,C2984,0

Thank you !

Kind Regards, Thomas

Posted

That´s the solution for me, and it works,

but how can i add 2 Initial Buttons?

Assign the one button to whatever the two or more are supposed to do. The initialbutton need not be a real button or switch, so you do not lose one. e.g.

InitialButton=15,31

8=P15,31,C2968,0

9=P15,31,C2969,0

Pete

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.