Jump to content
Sign in to follow this  
badderjet

Key actions in gauges

Recommended Posts

Hello guys !!Do you know how to trigger an action with a keypress in a gauge developed in C ?I know how to trigger an action with a mouse click, using MOUSE_CHILD_FUNCT or MOUSE_CHILD_EVENT, but not with a keypress.Thanks for any help !!

Share this post


Link to post
Share on other sites

Phew that's a nice question. I'm also quite interested in that.I only could imagine you could realize it with FSUIPC or even with the Windows API... Some clever guys got it... PSS and DreamFleet for example... No idea... Arne, please help! :DEtienne :-wave

Share this post


Link to post
Share on other sites
Guest bartels

I used a modified DInput sample of the DirectX SDK for such a purpose. Maybe it works directly with the Windows API, but I haven't found it yet.Arne Bartels

Share this post


Link to post
Share on other sites

The use of DirectInput seems to be the best solution. I wanted to download the DirectX SDK, but the 173 MB were too much for me... Even if I have cable connection, it will be long. I'll try to download it during the night.Thanks for your help !!Eric

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