Table of Contents

Class GameInput

Namespace
KSP.Input
Assembly
Assembly-CSharp.dll
public class GameInput : IInputActionCollection2, IInputActionCollection, IEnumerable<InputAction>, IEnumerable, IDisposable
Inheritance
GameInput
Implements
IInputActionCollection2
IInputActionCollection
IEnumerable<InputAction>
Inherited Members
Extension Methods

Constructors

GameInput()

public GameInput()

Properties

Audio

public GameInput.AudioActions Audio { get; }

Property Value

GameInput.AudioActions

ConsoleToolbox

public GameInput.ConsoleToolboxActions ConsoleToolbox { get; }

Property Value

GameInput.ConsoleToolboxActions

Cursor

public GameInput.CursorActions Cursor { get; }

Property Value

GameInput.CursorActions

EVA

public GameInput.EVAActions EVA { get; }

Property Value

GameInput.EVAActions

Flight

public GameInput.FlightActions Flight { get; }

Property Value

GameInput.FlightActions

GamePadScheme

public InputControlScheme GamePadScheme { get; }

Property Value

InputControlScheme

Global

public GameInput.GlobalActions Global { get; }

Property Value

GameInput.GlobalActions

HideScheme

public InputControlScheme HideScheme { get; }

Property Value

InputControlScheme

KSC

public GameInput.KSCActions KSC { get; }

Property Value

GameInput.KSCActions

KeyboardScheme

public InputControlScheme KeyboardScheme { get; }

Property Value

InputControlScheme

MapView

public GameInput.MapViewActions MapView { get; }

Property Value

GameInput.MapViewActions

Navigation_Move_DPad

public GameInput.Navigation_Move_DPadActions Navigation_Move_DPad { get; }

Property Value

GameInput.Navigation_Move_DPadActions

Navigation_Move_LeftStick

public GameInput.Navigation_Move_LeftStickActions Navigation_Move_LeftStick { get; }

Property Value

GameInput.Navigation_Move_LeftStickActions

Navigation_Quit

public GameInput.Navigation_QuitActions Navigation_Quit { get; }

Property Value

GameInput.Navigation_QuitActions

Navigation_Scroll

public GameInput.Navigation_ScrollActions Navigation_Scroll { get; }

Property Value

GameInput.Navigation_ScrollActions

Navigation_Slider

public GameInput.Navigation_SliderActions Navigation_Slider { get; }

Property Value

GameInput.Navigation_SliderActions

Navigation_Submit

public GameInput.Navigation_SubmitActions Navigation_Submit { get; }

Property Value

GameInput.Navigation_SubmitActions

RD

public GameInput.RDActions RD { get; }

Property Value

GameInput.RDActions

VAB

public GameInput.VABActions VAB { get; }

Property Value

GameInput.VABActions

asset

public InputActionAsset asset { get; }

Property Value

InputActionAsset

bindingMask

public InputBinding? bindingMask { get; set; }

Property Value

InputBinding?

bindings

public IEnumerable<InputBinding> bindings { get; }

Property Value

IEnumerable<InputBinding>

controlSchemes

public ReadOnlyArray<InputControlScheme> controlSchemes { get; }

Property Value

ReadOnlyArray<InputControlScheme>

devices

public ReadOnlyArray<InputDevice>? devices { get; set; }

Property Value

ReadOnlyArray<InputDevice>?

Methods

Contains(InputAction)

public bool Contains(InputAction action)

Parameters

action InputAction

Returns

bool

Disable()

public void Disable()

Dispose()

public void Dispose()

Enable()

public void Enable()

FindAction(string, bool)

public InputAction FindAction(string actionNameOrId, bool throwIfNotFound = false)

Parameters

actionNameOrId string
throwIfNotFound bool

Returns

InputAction

FindBinding(InputBinding, out InputAction)

public int FindBinding(InputBinding bindingMask, out InputAction action)

Parameters

bindingMask InputBinding
action InputAction

Returns

int

GetEnumerator()

public IEnumerator<InputAction> GetEnumerator()

Returns

IEnumerator<InputAction>