Jump to content
Sign in to follow this  
badderjet

Getting controls information

Recommended Posts

Is there a way to get the controls information in a C gauge? I'd like to read the joystick and throttle position in the code of my gauge.I know it can be made with FSUIPC (offsets 3328 to 332E), but is there a way to do this without FSUIPC?Thanks !!Eric

Share this post


Link to post
Share on other sites
Guest

Hi Eric,there is a possibility: using DirectInput. The SDK can be found on the msdn website.King Regards,Marcel Burr

Share this post


Link to post
Share on other sites

Yes, I have already thought about this, but... I'd rather get the information directly from FS, because I don't know which device is used for which axis. For aileron and elevator, it is highly probable that people use the joystick, but for the throttle input, it is not that easy.Eric

Share this post


Link to post
Share on other sites

Hey,I doubt you will get this information directly from FS... Maybe thru some FS DLL, but I don't know.DInput should work though. Haven't got it working yet, but I am also currently trying exactly that. :-)Etienne

Share this post


Link to post
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
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...