Skip to content
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

HID input is lagged #1

Closed
Nielk1 opened this issue Feb 16, 2018 · 2 comments
Closed

HID input is lagged #1

Nielk1 opened this issue Feb 16, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Nielk1
Copy link
Owner

Nielk1 commented Feb 16, 2018

This is caused by the HidLibrary checking IsConnected every frame. This function is slow and hurts performance significantly. A local fork of HidLibrary that uses a 2 second polling recheck of connected state is working with no input lag. This issue will be resolved when that logic is integrated into the repo.

@Nielk1 Nielk1 added the enhancement New feature or request label Feb 16, 2018
@Nielk1 Nielk1 self-assigned this Feb 16, 2018
@Nielk1
Copy link
Owner Author

Nielk1 commented Feb 16, 2018

The local fix is not enough, as the input still hangs every 2 seconds. This will likely require a concurrent solution and thus will be a lot more difficult.

@Nielk1
Copy link
Owner Author

Nielk1 commented Feb 16, 2018

Fixed in version v0.3.0.4 . The hangups were part of the attached/detached polling that could now be fully disabled. Hopefully this won't have any side effects with controllers being removed and reattached while the software is running.

@Nielk1 Nielk1 closed this as completed Feb 16, 2018
Nielk1 pushed a commit that referenced this issue Jul 19, 2021
Added missing text file under Theme list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant