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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • 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.