19
19
20
20
/** @file
21
21
* @defgroup API hidapi API
22
+
23
+ * Since version 0.12.0, @ref HID_API_VERSION >= HID_API_MAKE_VERSION(0, 12, 0)
22
24
*/
23
25
24
26
#ifndef HIDAPI_DARWIN_H__
@@ -34,6 +36,8 @@ extern "C" {
34
36
35
37
/** @brief Get the location ID for a HID device.
36
38
39
+ Since version 0.12.0, @ref HID_API_VERSION >= HID_API_MAKE_VERSION(0, 12, 0)
40
+
37
41
@ingroup API
38
42
@param dev A device handle returned from hid_open().
39
43
@param location_id The device's location ID on return.
@@ -49,6 +53,8 @@ extern "C" {
49
53
By default on Darwin platform all devices opened by HIDAPI with @ref hid_open or @ref hid_open_path
50
54
are opened in exclusive mode (see kIOHIDOptionsTypeSeizeDevice).
51
55
56
+ Since version 0.12.0, @ref HID_API_VERSION >= HID_API_MAKE_VERSION(0, 12, 0)
57
+
52
58
@ingroup API
53
59
@param open_exclusive When set to 0 - all further devices will be opened
54
60
in non-exclusive mode. Otherwise - all further devices will be opened
@@ -63,6 +69,8 @@ extern "C" {
63
69
64
70
/** @brief Getter for option set by @ref hid_darwin_set_open_exclusive.
65
71
72
+ Since version 0.12.0, @ref HID_API_VERSION >= HID_API_MAKE_VERSION(0, 12, 0)
73
+
66
74
@ingroup API
67
75
@return 1 if all further devices will be opened in exclusive mode.
68
76
@@ -73,6 +81,8 @@ extern "C" {
73
81
74
82
/** @brief Check how the device was opened.
75
83
84
+ Since version 0.12.0, @ref HID_API_VERSION >= HID_API_MAKE_VERSION(0, 12, 0)
85
+
76
86
@ingroup API
77
87
@param dev A device to get property from.
78
88
0 commit comments