Closed bentiss closed 1 month ago
And I've now fixed the github workflow.
So I think we can have another look at this now.
Note: I've also added a commit to support packets longer than 64 bytes, but the syntax is not very clean as there will be 2 B:
tags: one for the beginning with the timestamp and the total size, and all the rest will have just B:
and the remaining bytes.
Let's get this merged and fix up any remaining things later, thanks for the patches!
There are multiple case where the events forwarded to hidraw are not the pristine ones from the device:
.raw_event()
Let's inject a new HID-BPF filter in front of anyone else, and use it to retrieve the data from the device.
This is controlled by a new
--bpf
flag or will also be enabl;ed if we detect that a HID-BPF filter is in used on the given device.Further improvements can be done: