Skip to content

UHID OutputEvent data comes with an extra byte at the front #6

@nmdanny

Description

@nmdanny

Current workaround is to simply delete that byte

Ok(OutputEvent::Output { mut data }) => {
// TODO: BUG: why do UHID output event come with an extra byte in the front?
data.remove(0);
if let Err(e) = send_read.send(Ok(data)) {

I suspect that uhid-virt's C bindings (uhidrs-sys) might be outdated - might be missing a field

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions