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
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 |