Class DualShock4GamepadHID
Example device layout for a PS4 DualShock controller that registers itself as a match for the corresponding HID device description.
Inherited Members
Namespace: DocCodeSamples.Tests.DualShock4GamepadHidRegister
Assembly: Unity.InputSystem.DocCodeSamples.dll
Syntax
[InputControlLayout(stateType = typeof(DualShock4HIDInputReport))]
[InitializeOnLoad]
public class DualShock4GamepadHID : Gamepad, IDualMotorRumble, IHaptics