xrt: Add defines for minimum haptic frequency and unspecified haptic frequency

This commit is contained in:
Christoph Haag committed 2020-10-13 19:27:53 +02:00
1 parent d959bea54a
commit 1f021a6eda
1 file changed
+16
+16
View File
@@ -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.
*