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
Help AVSIM continue to serve you!
Please donate today!

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

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