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.

Momentary Switch Question...

Featured Replies

Is it possible to create a three way momentary switch that will stay in place as long as you're holding a mouse click to it, but when you release, the switch will return to it's center detent? I have a momentary switch set up already for trim adjustments, but it repeats when holding... I'd like it to stay in the positive or negative positions whith a "click hold" and then return to center when released. Anyone mastered this one yet? Here's an example of what I have now:(L:Stab trim switch, enum)(P:Absolute time, seconds) (L:Stab trim timer, seconds) > if{ 0 (>L:Stab trim switch, enum) }(>K:ELEV_TRIM_DN) -1 (>L:Stab trim switch, enum) (P:Absolute time, seconds) 0.75 + (L:Stab trim timer, seconds)(>K:ELEV_TRIM_UP) 1 (>L:Stab trim switch, enum) (P:Absolute time, seconds) 0.75 + (L:Stab trim timer, seconds)

Kevin,Didn't check, but there are mouse-events something like "Leftpress/Leftrelease" etc. and these should work.Jan"Beatus Ille Procul Negotiis"

Jan

 

 

 

"Beatus ille qui procul negotiis..."

You ever had a moment when you can't see the forest for the trees right in front of your face? lol...I rarely use those except for the throttle controls and forgot about them in this instance. Thanks Jan... I'll look into this some more.

  • Author

Hi,Here you have an example code from my 757 panel project:AILERON LEFT/RIGHT TRIM(L:Aileron Tim Pos,enum) (M:Event) 'LeftSingle' scmp 0 == if{ -1 (>L:Aileron Tim Pos,enum (>K:AILERON_TRIM_LEFT) } (M:Event) 'Leave' scmp 0 == if{ 0 (>L:Aileron Tim Pos,enum) } (M:Event) 'LeftSingle' scmp 0 == if{ 1 (>L:Aileron Tim Pos,enum) (>K:AILERON_TRIM_RIGHT) } (M:Event) 'Leave' scmp 0 == if{ 0 (>L:Aileron Tim Pos,enum) } Hope this helpsTom

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.