Open ilyalasy opened 4 months ago
Duplicate of https://github.com/libusb/hidapi/issues/27
It seems that the underlying library does not allow it
So it seems that all we need to do is export the following functions and set them accordingly.
void HID_API_EXPORT_CALL hid_darwin_set_open_exclusive(int open_exclusive)
int HID_API_EXPORT_CALL hid_darwin_get_open_exclusive(void)
int HID_API_EXPORT_CALL hid_darwin_is_device_open_exclusive(hid_device *dev)
@ilyalasy would you like to create a PR for this?
So it seems that all we need to do is export the following functions and set them accordingly.
void HID_API_EXPORT_CALL hid_darwin_set_open_exclusive(int open_exclusive) int HID_API_EXPORT_CALL hid_darwin_get_open_exclusive(void) int HID_API_EXPORT_CALL hid_darwin_is_device_open_exclusive(hid_device *dev)
@ilyalasy would you like to create a PR for this?
Don't have experience with cython, but I can try
When I use device.open(), device inputs are not accessible on any application other than my script code. How can I fix that? Platform: macOS (ARM)