Skip to main content
Version: 20 Mar 2024

MLInputCustomHapticsInfo

Module: Input

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

#include <ml_input.h>

Public Attributes

TypeName
uint32_tversion
MLInputCustomHaptics *custom
uint32_tsize

Detailed Description

struct MLInputCustomHapticsInfo;

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

A custom haptics pattern can be played by combining Buzz haptic command and/or a pre-defined pattern, this structure holds a list of such a combination.

API Level:

  • 20

Public Attributes Documentation

version

uint32_t version;

Version of the structure.


custom

MLInputCustomHaptics * custom;
TypeDescription
MLInputCustomHaptics *A structure containing information about the Buzz command and/or pre-defined pattern to be played.

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

Memory of this variable is managed by user.


size

uint32_t size;

Size of the array.