New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Access denied when sending / reading data to / from Steam Controller #336
Comments
You can't read or write reports from or to keyboards and mice on Windows. The OS won't allow it. |
Oh, how'd I go in communicating with it then? |
Good question. Look for some windows-specific APIs. I remember something about low-level mouse events. |
I found a way using libusb, thanks anyway! |
Hmm, that actually surprises me as libusb on Windows uses the platform HID libraries as its back-end for HID devices on Windows, which I would expect to have the same limitation. It's been a while since I've looked at what they have though. I'm glad you got it working. |
@iUltimateLP I am facing the same problem, could you share how you fixed this issue? |
Hey, thanks for hidapi!
I want to communicate with the Steam controller, but I have a problem here.
The Steam Controller is identified by Windows in the device managment console as a "HID-conform Mouse". The driver it uses on Windows is "msmouse.inf", the service "mouhid".
Now, I can open the device using hidapi when I'm using this (https://gist.github.com/cactrot/7242364) patch, but I get an access denied error when I want to send or read data from/to the controller.
Example with reading:
Where res is -1 and the error is "Access denied". When I try to send data:
I also get access denied. What is the problem here?
Thanks for your help :)
The text was updated successfully, but these errors were encountered: