26#ifndef HIDAPI_DARWIN_H__
27#define HIDAPI_DARWIN_H__
int HID_API_EXPORT_CALL hid_darwin_get_open_exclusive(void)
Getter for option set by hid_darwin_set_open_exclusive.
int HID_API_EXPORT_CALL hid_darwin_get_location_id(hid_device *dev, uint32_t *location_id)
Get the location ID for a HID device.
void HID_API_EXPORT_CALL hid_darwin_set_open_exclusive(int open_exclusive)
Changes the behavior of all further calls to hid_open or hid_open_path.
int HID_API_EXPORT_CALL hid_darwin_is_device_open_exclusive(hid_device *dev)
Check how the device was opened.
#define HID_API_EXPORT_CALL
Definition hidapi.h:44
struct hid_device_ hid_device
Definition hidapi.h:116