Token Variables - along with the Gauge API - have been deprecated in Microsoft Flight Simulator 2024 in favour of the new Vars API and Event API, which work with the more extensive and supported Simulation Variables and Key Events.
This page lists the available control surfaceToken Variables for use when creating gauges using WASM / C++.
The rudder pedal position (or the autopilot rudder position if the autopilot is enabled), as a value between -16384 and 16384.
RUDDER_PEDAL_POS
n (SINT16)
The rudder pedal deflection, as a value between -16384 (left pedal pushed fully in) and 16384, centred on 0. This is the position of the autopilot when it is enabled.
RUDDER_POS
n (SINT16)
The rudder input, as a value between -16384 (full left) and 16384 (full right). This is the autopilot input when the autopilot is enabled.
RUDDER_TRIM
n (FLOAT64)
Rudder trim angle, in radians.
RUDDER_TRIM_DISABLED
b (BOOL)
Whether the rudder trim has been disabled (TRUE, 1) or not (FALSE, 0).
RUDDER_TRIM_PCT
n (FLOAT64)
The rudder trim position, where 0 is fully retracted, and 1 is fully extended.