ulisses Posted August 29, 2003 Report Posted August 29, 2003 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
Pete Dowson Posted August 29, 2003 Report Posted August 29, 2003 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now