I use this library for closs plattform (MacOS, Windows11) python project.
But when I tried to use it on both OS, the behavior of my code was different with each other.
In detail, when I use get_input_report(), I successfully to execute this method on MacOS, but on Windows, I fail to do with the error: OSError: read error.
And more, when I use read(), this method correctly to read data from device on Windows, but on MacOS, this method returns empty list with timeout.
I installed this library via pip install hidapi and the version is 0.14.0 and only did it.
Are there any more processes to use library on each OS?
Hi,
I use this library for closs plattform (MacOS, Windows11) python project. But when I tried to use it on both OS, the behavior of my code was different with each other.
In detail, when I use
get_input_report()
, I successfully to execute this method on MacOS, but on Windows, I fail to do with the error:OSError: read error
. And more, when I useread()
, this method correctly to read data from device on Windows, but on MacOS, this method returns empty list with timeout.I installed this library via
pip install hidapi
and the version is 0.14.0 and only did it. Are there any more processes to use library on each OS?thanks.