Search Results for

    Show / Hide Table of Contents

    Struct GamePadState

    Represents the game pad state.

    Implements
    IController
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Evergine.Common.Input
    Assembly: Evergine.Common.dll
    Syntax
    public struct GamePadState : IController

    Fields

    Buttons

    Gamepad buttons.

    Declaration
    public GamePadButtons Buttons
    Field Value
    Type Description
    GamePadButtons

    DPad

    Direction buttons.

    Declaration
    public GamePadDPad DPad
    Field Value
    Type Description
    GamePadDPad

    ThumbSticks

    Thumb sticks.

    Declaration
    public GamePadThumbSticks ThumbSticks
    Field Value
    Type Description
    GamePadThumbSticks

    Triggers

    Gamepad triggers.

    Declaration
    public GamePadTriggers Triggers
    Field Value
    Type Description
    GamePadTriggers

    Properties

    IsConnected

    Gets or sets a value indicating whether this instance is connected.

    Declaration
    public bool IsConnected { readonly get; set; }
    Property Value
    Type Description
    bool

    true if this instance is connected; otherwise, false.

    Methods

    IsButtonPressed(Buttons)

    Determines whether [is button pressed] [the specified button].

    Declaration
    public bool IsButtonPressed(Buttons button)
    Parameters
    Type Name Description
    Buttons button

    the specified button.

    Returns
    Type Description
    bool

    true if [is button pressed] [the specified button]; otherwise, false.

    IsButtonReleased(Buttons)

    Determines whether [is button released] [the specified button].

    Declaration
    public bool IsButtonReleased(Buttons button)
    Parameters
    Type Name Description
    Buttons button

    the specified button.

    Returns
    Type Description
    bool

    true if [is button released] [the specified button]; otherwise, false.

    Implements

    IController

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX