Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    GamePadLayoutDS4 Class

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

    A gamepad layout for a DualShock4 controller

    System.Object → GamePadLayout → GamePadLayoutDS4
    Derived from GamePadLayoutDS4:

    public class GamePadLayoutDS4 : GamePadLayout
    Name Description
    Constructors
    GamePadLayoutDS4()
    Methods
    MatchDevice(IInputSource, IGameControllerDevice)
    | Improve this Doc View Source

    Constructors


    GamePadLayoutDS4()

    public GamePadLayoutDS4()
    | Improve this Doc View Source

    Methods


    MatchDevice(IInputSource, IGameControllerDevice)

    public override bool MatchDevice(IInputSource source, IGameControllerDevice device)
    Parameters
    Type Name Description
    IInputSource source
    IGameControllerDevice device
    Returns
    Type Description
    System.Boolean
    Overrides
    GamePadLayout.MatchDevice(IInputSource, IGameControllerDevice)

    Inherited Members

    GamePadLayout.mapFirstPovToPad
    GamePadLayout.CompareProductId(Guid, Guid, Int32, Int32)
    GamePadLayout.InitializeDevice(IGamePadDevice, IGameControllerDevice)
    GamePadLayout.MapInputEvent(IGamePadDevice, IGameControllerDevice, InputEvent, List<InputEvent>)
    GamePadLayout.AddButtonToButton(Int32, GamePadButton)
    GamePadLayout.AddAxisToButton(Int32, GamePadButton)
    GamePadLayout.AddButtonToAxis(Int32, GamePadAxis, Boolean)
    GamePadLayout.AddAxisToAxis(Int32, GamePadAxis, Boolean, Boolean)

    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