mirror of
https://github.com/lbgos/rift-s-linux.git
synced 2026-10-27 09:01:31 +01:00
xrt: Add defines for minimum haptic frequency and unspecified haptic frequency
This commit is contained in:
1 parent
d959bea54a
commit
1f021a6eda
1 file changed
+16
@@ -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.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user