Jump to content
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

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
Guest

>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  

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