Class GameInput
- Namespace
- KSP.Input
- Assembly
- Assembly-CSharp.dll
public class GameInput : IInputActionCollection2, IInputActionCollection, IEnumerable<InputAction>, IEnumerable, IDisposable
- Inheritance
-
GameInput
- Implements
-
IInputActionCollection2
IInputActionCollection
- Inherited Members
-
- Extension Methods
-
Constructors
Properties
public GameInput.AudioActions Audio { get; }
Property Value
- GameInput.AudioActions
public GameInput.ConsoleToolboxActions ConsoleToolbox { get; }
Property Value
- GameInput.ConsoleToolboxActions
public GameInput.CursorActions Cursor { get; }
Property Value
- GameInput.CursorActions
public GameInput.EVAActions EVA { get; }
Property Value
- GameInput.EVAActions
public GameInput.FlightActions Flight { get; }
Property Value
- GameInput.FlightActions
public InputControlScheme GamePadScheme { get; }
Property Value
- InputControlScheme
public GameInput.GlobalActions Global { get; }
Property Value
- GameInput.GlobalActions
public InputControlScheme HideScheme { get; }
Property Value
- InputControlScheme
public GameInput.KSCActions KSC { get; }
Property Value
- GameInput.KSCActions
public InputControlScheme KeyboardScheme { get; }
Property Value
- InputControlScheme
public GameInput.MapViewActions MapView { get; }
Property Value
- GameInput.MapViewActions
public GameInput.Navigation_Move_DPadActions Navigation_Move_DPad { get; }
Property Value
- GameInput.Navigation_Move_DPadActions
public GameInput.Navigation_Move_LeftStickActions Navigation_Move_LeftStick { get; }
Property Value
- GameInput.Navigation_Move_LeftStickActions
public GameInput.Navigation_QuitActions Navigation_Quit { get; }
Property Value
- GameInput.Navigation_QuitActions
public GameInput.Navigation_ScrollActions Navigation_Scroll { get; }
Property Value
- GameInput.Navigation_ScrollActions
public GameInput.Navigation_SliderActions Navigation_Slider { get; }
Property Value
- GameInput.Navigation_SliderActions
public GameInput.Navigation_SubmitActions Navigation_Submit { get; }
Property Value
- GameInput.Navigation_SubmitActions
public GameInput.RDActions RD { get; }
Property Value
- GameInput.RDActions
public GameInput.VABActions VAB { get; }
Property Value
- GameInput.VABActions
public InputActionAsset asset { get; }
Property Value
- InputActionAsset
public InputBinding? bindingMask { get; set; }
Property Value
- InputBinding?
public IEnumerable<InputBinding> bindings { get; }
Property Value
- IEnumerable<InputBinding>
public ReadOnlyArray<InputControlScheme> controlSchemes { get; }
Property Value
- ReadOnlyArray<InputControlScheme>
public ReadOnlyArray<InputDevice>? devices { get; set; }
Property Value
- ReadOnlyArray<InputDevice>?
Methods
public bool Contains(InputAction action)
Parameters
action InputAction
Returns
- bool
public InputAction FindAction(string actionNameOrId, bool throwIfNotFound = false)
Parameters
actionNameOrId string
throwIfNotFound bool
Returns
- InputAction
public int FindBinding(InputBinding bindingMask, out InputAction action)
Parameters
bindingMask InputBinding
action InputAction
Returns
- int
public IEnumerator<InputAction> GetEnumerator()
Returns
- IEnumerator<InputAction>