Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
haptics.h File Reference
#include <zephyr/device.h>
#include <syscalls/haptics.h>

Go to the source code of this file.

Data Structures

struct  haptics_driver_api
 Haptic device API. More...
 

Typedefs

typedef int(* haptics_stop_output_t) (const struct device *dev)
 Set the haptic device to stop output.
 
typedef int(* haptics_start_output_t) (const struct device *dev)
 Set the haptic device to start output for a playback event.
 

Functions

int haptics_start_output (const struct device *dev)
 Set the haptic device to start output for a playback event.
 
int haptics_stop_output (const struct device *dev)
 Set the haptic device to stop output for a playback event.