I added compatibility with pyhidapi, as on macOS the Kernel reserves HID-Devices and you can't access (at least write on?) them with pyusb.
For now I'm checking with sys.platform for darwin, also it runs without sudo on macOS.
I'm not able to add instructions on how to install pyhidapi on macOS, I think maybe "brew install hidapi" and "pip3 install pyhidapi" but I already installed it for another project some months ago and don't know the exacts steps anymore. I'm sorry for that. :(
Hi Juergen!
I added compatibility with pyhidapi, as on macOS the Kernel reserves HID-Devices and you can't access (at least write on?) them with pyusb. For now I'm checking with sys.platform for darwin, also it runs without sudo on macOS.
I'm not able to add instructions on how to install pyhidapi on macOS, I think maybe "brew install hidapi" and "pip3 install pyhidapi" but I already installed it for another project some months ago and don't know the exacts steps anymore. I'm sorry for that. :(