-
Notifications
You must be signed in to change notification settings - Fork 21
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
Initialising introduces mouse stutter #40
Comments
Hmmmm, the first thing that came to mind is that it could be triggered by the A couple of methods that could be used to verify that this is the cause:
I'm fairly certain that that would be the cause, although I'm unsure of what the best way to fix it would be while still preserving the detection of devices that have been connected after init |
We've narrowed down on the Discord that this problem occurs due to hidapi calling |
I was trying to get the analog sdk used in our Unity game, but I ran into a problem that also seems to happen in regular Visual Studio projects.
Whenever I run
var (noDevices, error) = WootingAnalogSDK.Initialise();
I get constant, noticeable mouse stutter. It feels like the mouse just stops registering inputs briefly. Seems to not depend on actually listening for device input.This behaviour stops in Visual Studio when I stop debugging, and in Unity if I call
WootingAnalogSDK.UnInitialise();
.Full code:
Versions of things:
VS 2019 16.11.2
Console Project, .NET 5.0
WootingAnalogSDKNET 0.5.0
The Wootility is version: 3.6.16
Latest wooting-analog-sdk installed (whatever Wootility thinks is latest)
The text was updated successfully, but these errors were encountered: