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.

Configuring a Joystick Hat Switch For Trim?

Featured Replies

I'm trying to configure a Joystick trim hat for trim with the Cirrus SR22T. I'm able to configure the Aileron trim with AILERONS_LEFT and AILERONS_RIGHT, from Native events. None of the other commands (that give smaller increments of change) will work.

The Elevator trim will also work with ELEVATOR_DOWN and ELEVATOR_UP, but the .05 increment change makes for huge jumps which would not be practical in flight. None of the other Elevator commands will work.

If I bind the Trim hat through the sim, everything works as expected.

Any suggestions?

  • Commercial Member
53 minutes ago, mkel2010 said:

Any suggestions?

Try the proper trim events:

ELEV_TRIM_DN
ELEV_TRIM_UP

AILERON_TRIM_RIGHT
AILERON_TRIM_LEFT

I would suggest configuring the buttons with a repeat setting.

Also, be mindful that some events require proper values too to function properly. It is not enough to just call them by name.

55 minutes ago, mkel2010 said:

If I bind the Trim hat through the sim, everything works as expected.

That is irrelevant. The assignments in AAO (=the events from the MSFS SDK) have nothing whatsoever to do with the in-sim controller assignments. What the in-sim controls can do and what AAO is allowed to do through the SDK is not the same. Some items in both logics have similar names, but they are not related.

Edited by Lorby_SI

LORBY-SI

  • Commercial Member
57 minutes ago, mkel2010 said:

Any suggestions?

Here is another tipp: when you open the event selection dialog in AAO, immediately start typing the term that you are looking for, in this case "trim". Then immediately press "Enter". This will activate the filter function of the dialog (bottom of the window) and reduce all the lists on all tabs to those items that have this term in their names. That makes stuff a lot easier to find

Edited by Lorby_SI

LORBY-SI

  • Author
2 hours ago, Lorby_SI said:

Try the proper trim events:

ELEV_TRIM_DN
ELEV_TRIM_UP

AILERON_TRIM_RIGHT
AILERON_TRIM_LEFT

I would suggest configuring the buttons with a repeat setting.

Also, be mindful that some events require proper values too to function properly. It is not enough to just call them by name.

How do I go about entering the values for the event? Do I need to change the event type or use what AAO put in when adding the command? For example, if I want to set elevator trim response at 0.001, how would I enter that in the AAO command line? I tried all the commands you suggested, and as the didn't work I'm sure it is a matter of the right configuration in the AAO field.

Edited by mkel2010

  • Commercial Member
4 hours ago, mkel2010 said:

How do I go about entering the values for the event?

AxisAndOhs manual, chapter 3.8.5 "Sending values to events", page 34 (click on the little "?" in the menu bar to open the manual). Sending decimal numbers to K-Events is not possible, they all operate with integers. Only a handful of events will actually accept values though, like for setting the autopilot altitude you have to supply either 100 or 1000 (=feet). Alternatively use RPN scripts.

  1. The events that you were using are those for the axis itself, they cannot be used for trim. Any movement on your joystick will cancel out your input

  2. ELEV_TRIM_DN/UP both definitely work. They don't require any special value. But they are very slow, you need to configure "Repeat-Fast-Adaptive" with those.

  3. Aileron trim does not work for me at all - not in-sim, not in AAO.
    I found this, so maybe aileron trim isn't supposed to work
    Cirrus SR22T Aileron Trim Inoperative and No Cabin Markings - Bug Reporting Hub / Aircraft & Systems - Microsoft Flight Simulator Forums

    Theoretically, one could script aileron trim in AAO using RPN, even if the plane hasn't got it.

Edited by Lorby_SI

LORBY-SI

  • Author
29 minutes ago, Lorby_SI said:

AxisAndOhs manual, chapter 3.8.5 "Sending values to events", page 34. Sending decimal numbers to K-Events is not possible, they all operate with integers. Only a handful of events will actually accept values though, like for setting the autopilot altitude you have to supply either 100 or 1000 (=feet). Alternatively use RPN scripts.

  1. The events that you were using are those for the axis itself, they cannot be used for trim. Any movement on your joystick will cancel out your input

  2. ELEV_TRIM_DN/UP both definitely work. They don't require any special value. But they are very slow, you need to configure "Repeat-Fast-Adaptive" with those.

  3. Aileron trim does not work for me at all - not in-sim, not in AAO. Is there something that one has to do in the Cirrus to "unlock" aileron trim?

Thank you for the explanation on integers vs decimals. The Aileron trim does respond, but normally the control stick position doesn't change. I did get it to change when I used one of the other Aileron trim commands today. In flight, the autopilot Aileron trim works, but hand flying and trimming is hugely difficult. Admittedly, it's been more than 40 years since I flew a real airplane, but I don't remember having to chase trim as much as I do in the SR22. I also noted that the Aileron trim markings are missing from the cover over the stick on both sides. Another setting I changed (several times - it keeps getting turned back on - is to turn off AI Assisted Trim.

I posted a bug report on the MSFS Forums when I first started to fly the SR22 (before I realized the Aileron trim works, but the stick doesn't move.) Here's a link to the post.

https://forums.flightsimulator.com/t/cirrus-sr22t-aileron-trim-inoperative-and-no-cabin-markings/774138

Edited by mkel2010
Add additional comment.

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.