Popcorning Guinea Pig
Search Results for

    Show / Hide Table of Contents

    Class InputManager

    Manages high-performance input polling and state tracking. Detects input changes and raises events for the input system.

    Inheritance
    object
    InputManager
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: PopcorningGuineaPig.Engine.Input
    Assembly: PopcorningGuineaPig.Engine.dll
    Syntax
    public class InputManager

    Fields

    | Edit this page View Source

    AxisPressThreshold

    Axis treated as pressed at/above this magnitude (matches FrameInput).

    Declaration
    public const float AxisPressThreshold = 0.5
    Field Value
    Type Description
    float

    Methods

    | Edit this page View Source

    GetGamepad(int)

    Declaration
    public InputManager.GamepadState GetGamepad(int index)
    Parameters
    Type Name Description
    int index
    Returns
    Type Description
    InputManager.GamepadState
    | Edit this page View Source

    IsGamepadConnected(int)

    Declaration
    public bool IsGamepadConnected(int index)
    Parameters
    Type Name Description
    int index
    Returns
    Type Description
    bool
    | Edit this page View Source

    Update()

    Declaration
    public void Update()

    Events

    | Edit this page View Source

    OnInputChanged

    Declaration
    public event Action<InputEvent>? OnInputChanged
    Event Type
    Type Description
    Action<InputEvent>
    • Edit this page
    • View Source
    In this article
    Back to top © 2024 Popcorning Guinea Pig Game Engine. A custom C# game engine for indie developers.