⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class GamepadUnityInputs

    Inheritance
    Object
    GamepadUnityInputs
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: NeoFPS
    Assembly: NeoFPS.dll
    Syntax
    public class GamepadUnityInputs

    Constructors

    GamepadUnityInputs(String, String, String, String, String, String, String, String[])

    Declaration
    public GamepadUnityInputs(string gamepad_name, string analogLeftHorizontal, string analogLeftVertical, string analogRightHorizontal, string analogRightVertical, string gyroHorizontal, string gyroVertical, string[] buttons)
    Parameters
    Type Name Description
    System.String gamepad_name
    System.String analogLeftHorizontal
    System.String analogLeftVertical
    System.String analogRightHorizontal
    System.String analogRightVertical
    System.String gyroHorizontal
    System.String gyroVertical
    System.String[] buttons

    Properties

    name

    Declaration
    public string name { get; }
    Property Value
    Type Description
    System.String

    Methods

    GetButton(GamepadButton)

    Declaration
    public bool GetButton(GamepadButton button)
    Parameters
    Type Name Description
    GamepadButton button
    Returns
    Type Description
    System.Boolean

    GetGyro()

    Declaration
    public Vector2 GetGyro()
    Returns
    Type Description
    Vector2

    GetLeftAnalog()

    Declaration
    public Vector2 GetLeftAnalog()
    Returns
    Type Description
    Vector2

    GetLeftAnalogH()

    Declaration
    public float GetLeftAnalogH()
    Returns
    Type Description
    System.Single

    GetLeftAnalogRaw()

    Declaration
    public Vector2 GetLeftAnalogRaw()
    Returns
    Type Description
    Vector2

    GetLeftAnalogRawH()

    Declaration
    public float GetLeftAnalogRawH()
    Returns
    Type Description
    System.Single

    GetLeftAnalogRawV()

    Declaration
    public float GetLeftAnalogRawV()
    Returns
    Type Description
    System.Single

    GetLeftAnalogV()

    Declaration
    public float GetLeftAnalogV()
    Returns
    Type Description
    System.Single

    GetRightAnalog()

    Declaration
    public Vector2 GetRightAnalog()
    Returns
    Type Description
    Vector2

    GetRightAnalogH()

    Declaration
    public float GetRightAnalogH()
    Returns
    Type Description
    System.Single

    GetRightAnalogRaw()

    Declaration
    public Vector2 GetRightAnalogRaw()
    Returns
    Type Description
    Vector2

    GetRightAnalogRawH()

    Declaration
    public float GetRightAnalogRawH()
    Returns
    Type Description
    System.Single

    GetRightAnalogRawV()

    Declaration
    public float GetRightAnalogRawV()
    Returns
    Type Description
    System.Single

    GetRightAnalogV()

    Declaration
    public float GetRightAnalogV()
    Returns
    Type Description
    System.Single
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX