Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    GamePadButton Enum

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

    Buttons for gamepad returned by GamePadState.

    [Flags]
    public enum GamePadButton : ushort

    Fields

    Name Description
    A

    A button.

    B

    B button.

    Back

    Back button.

    LeftShoulder

    Left shoulder button.

    LeftThumb

    Left thumb button.

    None

    No buttons.

    Pad

    Any pad button (DPad / Directional Pad)

    PadDown

    PadDown button. (DPad / Directional Pad)

    PadLeft

    PadLeft button. (DPad / Directional Pad)

    PadRight

    PadRight button. (DPad / Directional Pad)

    PadUp

    PadUp button. (DPad / Directional Pad)

    RightShoulder

    Right shoulder button.

    RightThumb

    Right thumb button.

    Start

    Start button.

    X

    X button.

    Y

    Y button.

    Extension Methods

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

    Back to top

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