1919
2020/** @file
2121 * @defgroup API hidapi API
22+
23+ * Since version 0.12.0, @ref HID_API_VERSION >= HID_API_MAKE_VERSION(0, 12, 0)
2224 */
2325
2426#ifndef HIDAPI_DARWIN_H__
@@ -34,6 +36,8 @@ extern "C" {
3436
3537 /** @brief Get the location ID for a HID device.
3638
39+ Since version 0.12.0, @ref HID_API_VERSION >= HID_API_MAKE_VERSION(0, 12, 0)
40+
3741 @ingroup API
3842 @param dev A device handle returned from hid_open().
3943 @param location_id The device's location ID on return.
@@ -49,6 +53,8 @@ extern "C" {
4953 By default on Darwin platform all devices opened by HIDAPI with @ref hid_open or @ref hid_open_path
5054 are opened in exclusive mode (see kIOHIDOptionsTypeSeizeDevice).
5155
56+ Since version 0.12.0, @ref HID_API_VERSION >= HID_API_MAKE_VERSION(0, 12, 0)
57+
5258 @ingroup API
5359 @param open_exclusive When set to 0 - all further devices will be opened
5460 in non-exclusive mode. Otherwise - all further devices will be opened
@@ -63,6 +69,8 @@ extern "C" {
6369
6470 /** @brief Getter for option set by @ref hid_darwin_set_open_exclusive.
6571
72+ Since version 0.12.0, @ref HID_API_VERSION >= HID_API_MAKE_VERSION(0, 12, 0)
73+
6674 @ingroup API
6775 @return 1 if all further devices will be opened in exclusive mode.
6876
@@ -73,6 +81,8 @@ extern "C" {
7381
7482 /** @brief Check how the device was opened.
7583
84+ Since version 0.12.0, @ref HID_API_VERSION >= HID_API_MAKE_VERSION(0, 12, 0)
85+
7686 @ingroup API
7787 @param dev A device to get property from.
7888
0 commit comments