Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    GamePadButtonEvent Class

    Namespace: Stride.Input
    Assembly: Stride.Input.dll

    An event to describe a change in gamepad button state

    System.Object → InputEvent → ButtonEvent → GamePadButtonEvent
    Derived from GamePadButtonEvent:

    public class GamePadButtonEvent : ButtonEvent, IInputEventArgs
    Name Description
    Fields
    Button

    The gamepad button identifier

    Properties
    GamePad

    The gamepad that sent this event

    Methods
    ToString()
    | Improve this Doc View Source

    Fields


    Button

    The gamepad button identifier

    public GamePadButton Button
    Field Value
    Type Description
    GamePadButton
    | Improve this Doc View Source

    Properties


    GamePad

    The gamepad that sent this event

    public IGamePadDevice GamePad { get; }
    Property Value
    Type Description
    IGamePadDevice
    | Improve this Doc View Source

    Methods


    ToString()

    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Inherited Members

    ButtonEvent.IsDown
    InputEvent.Device

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation