Jump to content
The simFlight Network Forums

Center an game controller axis


Recommended Posts

I just bought a very nice trim wheel from Flight Velocity.  FSX sees it as an axis. 

The problem is that FS initializes the axis at the zero end, not the center.  

This means that the first time I touch the wheel, the trim snaps to full trim up.  The aircraft loops 🙂

It's a long shot, but is there anything that FSUIPC4 can do to center this axis when a flight starts? 

Thanks, Ed

 

Link to comment
Share on other sites

9 hours ago, edgreenberg said:

It's a long shot, but is there anything that FSUIPC4 can do to center this axis when a flight starts? 

Does the trim wheel turn continuously, or does it have stops? If it has stops there's nothing you can really do except make sure it is in a sensible place each time you close down so that it is okay next time.

If it doesn't have stops then it is more difficult. What happens at the crossover point: does it suddenly change from s maximum to a minimum value and vice versa? I've never heard of an axis with no end points. You'd probably need to deal with is using a Lua plug-in, to arithmetically convert the value you read into a value relative to the neutral point (0), allowing for the wrap-around of the value where the end stops should be.

Pete

 

Link to comment
Share on other sites

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.