Class JoystickProfile | Unity Reflect | 1.0.0-preview.11
docs.unity3d.com
    Show / Hide Table of Contents

    Class JoystickProfile

    Inheritance
    Object
    InputDeviceProfile
    JoystickProfile
    Xbox360MacProfile
    Xbox360WinProfile
    Inherited Members
    InputDeviceProfile.AddSupportedPlatform(String)
    InputDeviceProfile.AddDeviceName(String)
    InputDeviceProfile.AddDeviceRegex(String)
    InputDeviceProfile.supportedPlatforms
    InputDeviceProfile.deviceNames
    InputDeviceProfile.deviceRegexes
    InputDeviceProfile.lastResortDeviceRegex
    InputDeviceProfile.minUnityVersion
    InputDeviceProfile.maxUnityVersion
    Namespace: UnityEngine.InputNew
    Syntax
    public class JoystickProfile : InputDeviceProfile

    Fields

    defaultDeadZones

    Declaration
    protected static Range defaultDeadZones
    Field Value
    Type Description
    Range

    mappings

    Declaration
    public JoystickControlMapping[] mappings
    Field Value
    Type Description
    JoystickControlMapping[]

    nameOverrides

    Declaration
    public string[] nameOverrides
    Field Value
    Type Description
    String[]

    Methods

    GetControlNameOverride(Int32)

    Declaration
    public override string GetControlNameOverride(int controlIndex)
    Parameters
    Type Name Description
    Int32 controlIndex
    Returns
    Type Description
    String
    Overrides
    InputDeviceProfile.GetControlNameOverride(Int32)

    Remap(InputEvent)

    Declaration
    public override void Remap(InputEvent inputEvent)
    Parameters
    Type Name Description
    InputEvent inputEvent
    Overrides
    InputDeviceProfile.Remap(InputEvent)

    SetMapping(Int32, Int32, String)

    Declaration
    public void SetMapping(int sourceControlIndex, int targetControlIndex, string displayName)
    Parameters
    Type Name Description
    Int32 sourceControlIndex
    Int32 targetControlIndex
    String displayName

    SetMapping(Int32, Int32, String, Range)

    Declaration
    public void SetMapping(int sourceControlIndex, int targetControlIndex, string displayName, Range interDeadZoneRange)
    Parameters
    Type Name Description
    Int32 sourceControlIndex
    Int32 targetControlIndex
    String displayName
    Range interDeadZoneRange

    SetMapping(Int32, Int32, String, Range, Range, Range)

    Declaration
    public void SetMapping(int sourceControlIndex, int targetControlIndex, string displayName, Range interDeadZoneRange, Range sourceRange, Range targetRange)
    Parameters
    Type Name Description
    Int32 sourceControlIndex
    Int32 targetControlIndex
    String displayName
    Range interDeadZoneRange
    Range sourceRange
    Range targetRange

    SetMappingsCount(Int32, Int32)

    Declaration
    public void SetMappingsCount(int sourceControlCount, int tarcontrolCount)
    Parameters
    Type Name Description
    Int32 sourceControlCount
    Int32 tarcontrolCount
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023