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.

Need mouse event syntax help

Featured Replies

I'm trying to use the left and right mouse buttons to operate the pitot heat switch. The left button will turn it on but the right one won't work. What am I doing wrong here? (I based this on what I was able to glean about the use of mouse events in the fs9gps file but I'm not a programmer and don't fully understand the complicated syntax.)(A:Pitot heat,bool)(M:Event) 'LeftSingle' scmp 0 == (>K:PITOT_HEAT_ON) 0 == and if{ 1 (K:PITOT_HEAT_OFF) (M:Event) 'RightSingle' scmp 0 == (>K:PITOT_HEAT_OFF) 0 == and if{ 1 (K:PITOT_HEAT_ON)Cheers, Bob

Dell410, Core2Duo E6700, 2.66Ghz, 2GB ram, nVidia 7900GTX/512MB/195.62 driver, FSX/sp1, UTX USA, Fsgenesis

Hi,Try this:(M:Event) 'LeftSingle' scmp 0 == if{ (>K:PITOT_HEAT_ON) }(M:Event) 'RightSingle' scmp 0 == if{ (>K:PITOT_HEAT_OFF) }Tom

  • Author

Thank you Tom - - - That works perfectly!Bob

Dell410, Core2Duo E6700, 2.66Ghz, 2GB ram, nVidia 7900GTX/512MB/195.62 driver, FSX/sp1, UTX USA, Fsgenesis

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.