docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct DualSenseHIDInputReport

    This is abstract input report for PS5 DualSense controller, similar to what is on the wire, but not exactly binary matching any state events. See ConvertInputReport for the exact conversion.

    Implements
    IInputStateTypeInfo
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Namespace: UnityEngine.InputSystem.DualShock.LowLevel
    Assembly: Unity.InputSystem.dll
    Syntax
    public struct DualSenseHIDInputReport : IInputStateTypeInfo

    Fields

    Format

    Declaration
    public static FourCC Format
    Field Value
    Type Description
    FourCC

    buttons0

    Declaration
    public byte buttons0
    Field Value
    Type Description
    byte

    buttons1

    Declaration
    public byte buttons1
    Field Value
    Type Description
    byte

    buttons2

    Declaration
    public byte buttons2
    Field Value
    Type Description
    byte

    leftStickX

    Declaration
    public byte leftStickX
    Field Value
    Type Description
    byte

    leftStickY

    Declaration
    public byte leftStickY
    Field Value
    Type Description
    byte

    leftTrigger

    Declaration
    public byte leftTrigger
    Field Value
    Type Description
    byte

    rightStickX

    Declaration
    public byte rightStickX
    Field Value
    Type Description
    byte

    rightStickY

    Declaration
    public byte rightStickY
    Field Value
    Type Description
    byte

    rightTrigger

    Declaration
    public byte rightTrigger
    Field Value
    Type Description
    byte

    Properties

    format

    Declaration
    public FourCC format { get; }
    Property Value
    Type Description
    FourCC

    Implements

    IInputStateTypeInfo
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)