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.

Two events on on button (Kodiak shoulder harness levers)

Featured Replies

I have most of the controls for the SWS Kodiak on the Streamdeck thanks to Lorby's AAOs and Guenseli. But I am having trouble getting the two shoulder harness inertia reel locks onto one button. I can get them working individually, but I want them on one button.

The SWS documentation gives me this:

Harness levers (overhead)

(L:Lever_Harness_x, Bool) xE[1,2]
0 unlocked
1 locked

This works for the left one:

Lever_Harness_1, Bool

I tried this:

(Lever_Harness_1, Bool)&(Lever_Harness_2, Bool)

It does not work but that is the idea. Can you provide me with the correct syntax?

  • Commercial Member
9 hours ago, riveter said:

I have most of the controls for the SWS Kodiak on the Streamdeck thanks to Lorby's AAOs and Guenseli. But I am having trouble getting the two shoulder harness inertia reel locks onto one button. I can get them working individually, but I want them on one button.

The SWS documentation gives me this:

Harness levers (overhead)


(L:Lever_Harness_x, Bool) xE[1,2]
0 unlocked
1 locked

This works for the left one:


Lever_Harness_1, Bool

I tried this:


(Lever_Harness_1, Bool)&(Lever_Harness_2, Bool)

It does not work but that is the idea. Can you provide me with the correct syntax?

This can only be done with scripts.

Please consult the AAO manual, chapter about Scripting and/or the simulator SDK.
Reverse Polish Notation (flightsimulator.com)

Lock
1 (>L:Lever_Harness_1, Bool) 1 (>L:Lever_Harness_2, Bool)
UnLock
0 (>L:Lever_Harness_1, Bool) 0 (>L:Lever_Harness_2, Bool)
Toggle
1 (L:Lever_Harness_1, Bool) - (>L:Lever_Harness_1, Bool) 1 (L:Lever_Harness_2, Bool) - (>L:Lever_Harness_2, Bool)

Be mindful of the space characters and upper/lower case. Scripts must be entered exactly as they are.

On the StreamDeck you can enter this code in the action directly as type "S:" Or you create the scripts in AAO and call them with "K:" "scriptgroup-scriptname"

Edited by Lorby_SI

LORBY-SI

  • Author

I used your Toggle scrip and it works great. I put 'Lever_Harness_1, Bool' in the Read box to change the button state. Thank you.

Archived

This topic is now archived and is closed to further replies.

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.