Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    GamePadLayoutXInput Class

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

    Layout for XInput devices so that they can be used by SDL or other systems that do not have the XInput API but do support joysticks in some other way

    System.Object → GamePadLayout → GamePadLayoutXInput
    Derived from GamePadLayoutXInput:

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

    Constructors


    GamePadLayoutXInput()

    public GamePadLayoutXInput()
    | 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