-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix performance issues by slow hid_write command of HIDAPI, which can…
… block the controller thread for several milliseconds per OutputReport: -Ensure that the ring-buffer of InputReports is polled between hid_write of two OutputReports -Move HID IO in a dedicated thread, this allows the JavaScript controller mapping to continue, while HIDAPI waits for completion of the data transfer of the OutputReport -Skip sending of OutputReports, if the data didn't changed - as already implemented for polled InputReports -Added timing information to --controllerDebug output, that mapping developers can understand the timing behavior
- Loading branch information
1 parent
ab55358
commit 387bc55
Showing
5 changed files
with
438 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.