Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

C gauge using KEY_HEADING_BUG_SET in FS9

Featured Replies

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

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

>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

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.