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

Fix output report length bug & hid read on Windows #28

Closed
wants to merge 1 commit into from

Conversation

vlovich
Copy link

@vlovich vlovich commented Nov 23, 2011

On Windows, data shorter than the output report length must be padded to the output report length of the device. This copies data shorter than this length into a temporary buffer. Longer reports behave as before (not sure if it needs to be a multiple of the output report length or what - should be so left it alone).

Also, fix the hid read to never copy in more than was read from the hid device.

On Windows, data shorter than the output report length must be padded.
@signal11 signal11 closed this Dec 30, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants