Sign in to follow this  
Guest

C gauge using KEY_HEADING_BUG_SET in FS9

Recommended Posts

I have been using the event key KEY_HEADING_BUG_SET in my C gauges for years, like this:trigger_key_event(KEY_HEADING_BUG_SET, (UINT32)heading)It has always worked fine in FS2002, but doesn't work any more in FS2004. Do you know how to solve this before MS releases the FS2004 SDK?Arne, can you help?Thanks !!Eric

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Sorry, one again a little bug in my code made me think there was something wrong in FS2004. Everything works fine. Please forget my post... ;-)

Share this post


Link to post
Share on other sites

>I have been using the event key KEY_HEADING_BUG_SET in my C>gauges for years, like this:>trigger_key_event(KEY_HEADING_BUG_SET, (UINT32)heading)>It has always worked fine in FS2002, but doesn't work any more>in FS2004. Do you know how to solve this before MS releases>the FS2004 SDK?>>Arne, can you help?Eric, this is what I'm using in FS9 and it's working just fine!}BOOL FSAPI mouse_cb4( PPIXPOINT relative_point, FLAGS32 mouse_flags){hdgbug = PLANE_HEADING_DEGREES_GYROvar.var_value.n ; trigger_key_event (KEY_HEADING_BUG_SET,( hdgbug )) ; return FALSE;}BillAVSIM OmbudsmanFounder and Director,Creative Recycling of Aircraft Partshttp://catholic-hymns.com/frbill/FS2002/images/fartslogo.jpg

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