Interface

ISimulatorInputDevices

USI.Core

Discovers physical input devices through the selected simulator.

public interface ISimulatorInputDevices

Events

AvailabilityChanged

public event EventHandler<SimulatorInputAvailabilityChangedEventArgs> AvailabilityChanged

Raised when the provider reports that broad input-source availability changed. Providers without an exact notification mechanism do not raise this event.

Methods

TryGetAvailabilityAsync

public Task<USIResult<SimulatorInputAvailability>> TryGetAvailabilityAsync()

Gets broad input-source availability reported by the simulator.

TryGetCertifiedControlAvailabilityAsync

public Task<USIResult<SimulatorCertifiedControlAvailability>> TryGetCertifiedControlAvailabilityAsync()

Gets which flight-control functions use certified hardware.

TryGetConnectedAsync

public Task<USIResult<IReadOnlyList<SimulatorInputDevice>>> TryGetConnectedAsync()

Gets the simulator's current connected-device snapshot. An empty successful result means no devices were reported.