Skip to main content

msfs.input_event_executer()

msfs.input_event_executer(input_event[, value])

This function creates a native-action to issue an Input Event.

Note that the preset executed by this function is the _Set preset within the Input Event definition specified by input_event. Due to limitations of the SimConnect specifications, it is not possible to execute any presets other than _Set. Additionally, note that the input_event specified should be the Input Event ID without the preset name.

Parameters

ParameterTypeDescription
input_eventstringInput Event ID
valuenumber or stringValue to set for Input Event
If this parameter is omitted, the value of event passed to the native action will be used.

Return Values

This function returns a native-action.

See Also