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.

72 Year Old Newbie Trying to Create a AAO button CS C130

Featured Replies

Greeting to all you Young  Uns.  It seems that I need to create a button to turn on and off the Altitude Hold in the CaptSim C130, Maybe the 'Normal\Manual' switch too.  I have difficulty swinging my view around the cockpit to turn these (and other features) on and off with the mouse chasing it around the screen, especially when night flying. The event seems to be 'CS_INPUT_P17_003_SW2| (>IE: ' but I haven't a clue how to create a button with it that will turn on and off this function. I have watched many You Tube Videos but the creators seem to rush on as if we all know loads already.

Any basic starting points would be very helpful. Thanking you all in advance.

Regards

Crusty Old Cold War Harrier Task Force Veteran

 

 

  • Commercial Member

You seem to have found this IE in the AAO event list that you opened from thecAdd Button dialog? In that list, click on that event once, so the sub-set of its generic bindings opens (the so-called BVars). There should be one named ..._Toggle. Double click that to transfer it to the button. Normally that does the trick for a momentary button.

LORBY-SI

  • Author

I can create 2 buttons, one for on and one for off using '1' and '0'. Button 10=on and button 11=off on my yoke. Cannot make a single button do both actions though. Under top level CS_INPUT_P17_003_SW2| (>IE: there are entries for inc, dec, toggle, but they dont operate when tested.

Thank you for your prompt reply

  • Commercial Member
17 hours ago, Tony770 said:

I can create 2 buttons, one for on and one for off using '1' and '0'. Button 10=on and button 11=off on my yoke. Cannot make a single button do both actions though. Under top level CS_INPUT_P17_003_SW2| (>IE: there are entries for inc, dec, toggle, but they dont operate when tested.

Thank you for your prompt reply

Strange that the Toggle-BVar wouldn't work. But you never know, developers can do whatever they want in that regard.

Try scripting the toggle functionality

1 (IE:CS_INPUT_P17_003_SW2) - (>IE:CS_INPUT_P17_003_SW2)

(I don't have this plane so I cannot test it. But if the IE behaves in the way that you describe, the script should do it. It reads the value of the IE, subtracts it from 1, and writes the result back into the IE)

Small scripts like this one don't have to be implemented with the script editor. You can copy&paste them directly into the button assignment by switching the Key Down/Key Up to "MAN" (with the little green button below the box), then selecting "RPN" as the type and pasting the code into the box.

Edited by Lorby_SI

LORBY-SI

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.