mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-16 20:05:29 +00:00
xrt: Add defines for minimum haptic frequency and unspecified haptic frequency
This commit is contained in:
parent
d959bea54a
commit
1f021a6eda
|
@ -701,6 +701,22 @@ enum xrt_output_name
|
|||
// clang-format on
|
||||
};
|
||||
|
||||
/*!
|
||||
* Value used to indicate a haptic pulse of the minimal supported duration.
|
||||
*
|
||||
* @ingroup xrt_iface
|
||||
*/
|
||||
#define XRT_MIN_HAPTIC_DURATION -1
|
||||
|
||||
/*!
|
||||
* Value used to indicate a haptic pulse of some runtime defined optimal
|
||||
* frequency.
|
||||
*
|
||||
* @ingroup xrt_iface
|
||||
*/
|
||||
|
||||
#define XRT_FREQUENCY_UNSPECIFIED 0
|
||||
|
||||
/*!
|
||||
* A union of all output types.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue