Skip to main content
Version: 10 Jul 2024

MLInputCustomHapticsInfo

A structure containing a list of Buzz command and/or pre-defined patterns to be played.

Inherits from:
IInputDeviceCommandInfo,
IDisposable

Public Methods

void Dispose

public void Dispose()

MLInputCustomHapticsInfo

public MLInputCustomHapticsInfo(
List< NativeBindings.MLInputCustomHaptics > customHaptics
)

Parameters

TypeNameDescription
List< NativeBindings.MLInputCustomHaptics >customHapticsA structure containing information about the Buzz command and/or pre-defined pattern to be played. A custom haptics pattern can be played by combining Buzz haptic command and/or a pre-defined pattern, this structure will hold info of a pattern to be added to the custom haptics array.

Public Attributes

CustomHapticsArrayPtr

An array containing the list of buzz command and/or pre-defined patterns.


public readonly IntPtr CustomHapticsArrayPtr;


Size

Size of the array.


public readonly uint Size;


Version

Version of this structure.


public readonly uint Version;


typeStatic


public FourCC typeStatic => commandType;