You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally issued this in the cython-hidapi group, and they directed me this way.
Operating System: macOS
Behavior:
running python3 under sudo (REPL)
hid.enumerate succeeds -- shows all bluetooth and usb connected HID devices.
device.open succeeds in opening a USB keyboard (reads work)
device.open & device.open_path fail with a bluetooth keyboard. 'OSError: open failed'
Expected Behavior: a connection to be opened to any HID device in hid.enumerate()
reproduction:
>>> import hid
>>> hid.enumerate() // several HID devices listed
>>> h = hid.device()
>>> h.open(1452, 544) // apple USB keyboard -- works
>>> h.close()
>>> h.open(1452, 569) // apple bluetooth keyboard -- OSError: open failed
I assumed from Apple's bluetooth docs that bluetooth HID access would work the same as USB.
Any thoughts? It's my first attempt at using the library, so I may be doing something wrong.
Cheers
The text was updated successfully, but these errors were encountered:
In order to help keep that issue on the top, please do us a favor by closing your issue and reaching out on one of the other channels (libusb mailing list or opening an issue at libusb/hidapi).
Hi!
Originally issued this in the cython-hidapi group, and they directed me this way.
Operating System: macOS
Behavior:
hid.enumerate
succeeds -- shows all bluetooth and usb connected HID devices.device.open
succeeds in opening a USB keyboard (reads work)device.open
&device.open_path
fail with a bluetooth keyboard.'OSError: open failed'
Expected Behavior: a connection to be opened to any HID device in hid.enumerate()
reproduction:
I assumed from Apple's bluetooth docs that bluetooth HID access would work the same as USB.
Any thoughts? It's my first attempt at using the library, so I may be doing something wrong.
Cheers
The text was updated successfully, but these errors were encountered: