Only return valid data on Read
Reading reports should always return with the actual size of the read report. E.g. in case of multi-report devices, or when read actually fails. For the latter the proper course of action is to set the status to NoDataRead and return with zero size array.
So there was another PR I needed to merge and it has caused some conflicts. If you could resolve those and push an update, I'll get this merged in. Sorry for the delay!
Done, you can go ahead with merging now I believe.
Will this ever be merged?
Sorry, it's been a few years. If you can merge in the previous commit, I can get this in there.