Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello,

I'm associating keyboard shortcuts to GoFlight P8 buttons and the same shortcut in FSUIPC to get it changing a magenta function.

My problem is when I press the GF button sometimes the function goes On and OFF, or ON-OFF-ON, like if I pressed the key 2 or 3 times.

Any setting to improve the communication ?

I'll ask GoFlight as well.

Thanks,

Ulisses

Posted

I'm associating keyboard shortcuts to GoFlight P8 buttons and the same shortcut in FSUIPC to get it changing a magenta function.

My problem is when I press the GF button sometimes the function goes On and OFF, or ON-OFF-ON, like if I pressed the key 2 or 3 times.

Any setting to improve the communication ?

Sounds like their switches have bouncing problems. Maybe they have debouncing code in their drivers. All FSUIPC is doing is reading the state at regular intervals and acting on changes. You can make it do this faster -- check for the PollInterval parameter (Advanced Users Guide), but this could conceivably make it worse rather than better.

FSUIPC reads joystick buttons via the standard Windows API (joyGetPosEx), not via DirectInput. So another possibility is that the Goflight driver is doing things a different way and the two accesses are conflicting somewhere. Maybe the driver doesn't actually provide the real-time status of the button, but uses queues, counts or flags or something.

Sorry, but I think you'll have to get GoFlight to advise you on this one.

Regards,

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.