Class MobileAircraftInputProvider
Handles aircraft input through mobile UI buttons. Can be combined with other input providers.
Inheritance
Inherited Members
Namespace: NWH.Aerodynamics.AircraftController.Input
Assembly: NWH.Aerodynamics.dll
Syntax
public class MobileAircraftInputProvider : AircraftInputProviderBase
Fields
| Edit this page View SourceaileronsLeft
Left aileron input button for roll control.
Declaration
public MobileInputButton aileronsLeft
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
aileronsRight
Right aileron input button for roll control.
Declaration
public MobileInputButton aileronsRight
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
aileronsTrimLeft
Left aileron trim adjustment button.
Declaration
public MobileInputButton aileronsTrimLeft
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
aileronsTrimRight
Right aileron trim adjustment button.
Declaration
public MobileInputButton aileronsTrimRight
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
brakes
Common brake input button.
Declaration
public MobileInputButton brakes
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
elevatorDown
Elevator down (nose down) input button.
Declaration
public MobileInputButton elevatorDown
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
elevatorTrimDown
Elevator trim down adjustment button.
Declaration
public MobileInputButton elevatorTrimDown
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
elevatorTrimUp
Elevator trim up adjustment button.
Declaration
public MobileInputButton elevatorTrimUp
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
elevatorUp
Elevator up (nose up) input button.
Declaration
public MobileInputButton elevatorUp
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
engineStart
Engine start input button.
Declaration
public MobileInputButton engineStart
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
engineStop
Engine stop input button.
Declaration
public MobileInputButton engineStop
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
flapsExtend
Flap extension input button.
Declaration
public MobileInputButton flapsExtend
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
flapsRetract
Flap retraction input button.
Declaration
public MobileInputButton flapsRetract
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
landingGear
Landing gear toggle button.
Declaration
public MobileInputButton landingGear
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
landingLights
Landing lights toggle button.
Declaration
public MobileInputButton landingLights
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
navigationLights
Navigation lights toggle button.
Declaration
public MobileInputButton navigationLights
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
parkingBrake
Parking brake toggle button.
Declaration
public MobileInputButton parkingBrake
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
rudderLeft
Left rudder input button for yaw control.
Declaration
public MobileInputButton rudderLeft
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
rudderRight
Right rudder input button for yaw control.
Declaration
public MobileInputButton rudderRight
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
rudderTrimLeft
Left rudder trim adjustment button.
Declaration
public MobileInputButton rudderTrimLeft
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
rudderTrimRight
Right rudder trim adjustment button.
Declaration
public MobileInputButton rudderTrimRight
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
smokeSystem
Smoke system toggle button.
Declaration
public MobileInputButton smokeSystem
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
throttleDecrease
Throttle decrease input button.
Declaration
public MobileInputButton throttleDecrease
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
throttleIncrease
Throttle increase input button.
Declaration
public MobileInputButton throttleIncrease
Field Value
| Type | Description |
|---|---|
| MobileInputButton |
Methods
| Edit this page View SourceAilerons()
Returns aileron input value ranging from -1 (full left) to +1 (full right).
Declaration
public override float Ailerons()
Returns
| Type | Description |
|---|---|
| float | Aileron deflection value |
Overrides
| Edit this page View SourceAileronsTrimLeft()
Returns true when left aileron trim adjustment is requested.
Declaration
public override bool AileronsTrimLeft()
Returns
| Type | Description |
|---|---|
| bool | True if trim left is active |
Overrides
| Edit this page View SourceAileronsTrimRight()
Returns true when right aileron trim adjustment is requested.
Declaration
public override bool AileronsTrimRight()
Returns
| Type | Description |
|---|---|
| bool | True if trim right is active |
Overrides
| Edit this page View SourceBrakes()
Returns true when common braking is requested for all wheels.
Declaration
public override bool Brakes()
Returns
| Type | Description |
|---|---|
| bool | True if brakes should engage |
Overrides
| Edit this page View SourceElevator()
Returns elevator input value ranging from -1 (full down) to +1 (full up).
Declaration
public override float Elevator()
Returns
| Type | Description |
|---|---|
| float | Elevator deflection value |
Overrides
| Edit this page View SourceElevatorTrimDown()
Returns true when downward elevator trim adjustment is requested.
Declaration
public override bool ElevatorTrimDown()
Returns
| Type | Description |
|---|---|
| bool | True if trim down is active |
Overrides
| Edit this page View SourceElevatorTrimUp()
Returns true when upward elevator trim adjustment is requested.
Declaration
public override bool ElevatorTrimUp()
Returns
| Type | Description |
|---|---|
| bool | True if trim up is active |
Overrides
| Edit this page View SourceEngineStartCommon()
Returns true when engine start is requested for all engines.
Declaration
public override bool EngineStartCommon()
Returns
| Type | Description |
|---|---|
| bool | True if engines should start |
Overrides
| Edit this page View SourceEngineStopCommon()
Returns true when engine shutdown is requested for all engines.
Declaration
public override bool EngineStopCommon()
Returns
| Type | Description |
|---|---|
| bool | True if engines should stop |
Overrides
| Edit this page View SourceFlapsExtend()
Returns true when incremental flap extension is requested.
Declaration
public override bool FlapsExtend()
Returns
| Type | Description |
|---|---|
| bool | True if flaps should extend one notch |
Overrides
| Edit this page View SourceFlapsRetract()
Returns true when incremental flap retraction is requested.
Declaration
public override bool FlapsRetract()
Returns
| Type | Description |
|---|---|
| bool | True if flaps should retract one notch |
Overrides
| Edit this page View SourceLandingGear()
Returns true when landing gear toggle is requested.
Declaration
public override bool LandingGear()
Returns
| Type | Description |
|---|---|
| bool | True if landing gear should extend or retract |
Overrides
| Edit this page View SourceLandingLights()
Returns true when landing lights toggle is requested.
Declaration
public override bool LandingLights()
Returns
| Type | Description |
|---|---|
| bool | True if landing lights should toggle |
Overrides
| Edit this page View SourceNavigationLights()
Returns true when navigation lights toggle is requested.
Declaration
public override bool NavigationLights()
Returns
| Type | Description |
|---|---|
| bool | True if navigation lights should toggle |
Overrides
| Edit this page View SourceParkingBrake()
Returns true when parking brake toggle is requested.
Declaration
public override bool ParkingBrake()
Returns
| Type | Description |
|---|---|
| bool | True if parking brake should toggle |
Overrides
| Edit this page View SourceRudder()
Returns rudder input value ranging from -1 (full left) to +1 (full right).
Declaration
public override float Rudder()
Returns
| Type | Description |
|---|---|
| float | Rudder deflection value |
Overrides
| Edit this page View SourceRudderTrimLeft()
Returns true when left rudder trim adjustment is requested.
Declaration
public override bool RudderTrimLeft()
Returns
| Type | Description |
|---|---|
| bool | True if trim left is active |
Overrides
| Edit this page View SourceRudderTrimRight()
Returns true when right rudder trim adjustment is requested.
Declaration
public override bool RudderTrimRight()
Returns
| Type | Description |
|---|---|
| bool | True if trim right is active |
Overrides
| Edit this page View SourceSmokeSystem()
Returns true when smoke system toggle is requested.
Declaration
public override bool SmokeSystem()
Returns
| Type | Description |
|---|---|
| bool | True if smoke system should toggle |
Overrides
| Edit this page View SourceThrottleDecrease()
Returns true when incremental throttle decrease is requested.
Declaration
public override bool ThrottleDecrease()
Returns
| Type | Description |
|---|---|
| bool | True if throttle should decrease |
Overrides
| Edit this page View SourceThrottleIncrease()
Returns true when incremental throttle increase is requested.
Declaration
public override bool ThrottleIncrease()
Returns
| Type | Description |
|---|---|
| bool | True if throttle should increase |