Zephyr Project API 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
haptics_driver_api Struct Reference

@driver_ops{Haptics} More...

#include <haptics.h>

Data Fields

haptics_start_output_t start_output
 @driver_ops_mandatory Set the haptic device to start output for a playback event.
haptics_stop_output_t stop_output
 @driver_ops_mandatory Set the haptic device to stop output for a playback event.
haptics_register_error_callback_t register_error_callback
 @driver_ops_optional Register a callback function for haptics errors.

Detailed Description

@driver_ops{Haptics}

Field Documentation

◆ register_error_callback

haptics_register_error_callback_t haptics_driver_api::register_error_callback

@driver_ops_optional Register a callback function for haptics errors.

◆ start_output

haptics_start_output_t haptics_driver_api::start_output

@driver_ops_mandatory Set the haptic device to start output for a playback event.

◆ stop_output

haptics_stop_output_t haptics_driver_api::stop_output

@driver_ops_mandatory Set the haptic device to stop output for a playback event.


The documentation for this struct was generated from the following file: