Skip to content

Commit

Permalink
Merge pull request #205 from martinling/hid
Browse files Browse the repository at this point in the history
Initial support for HID descriptors
  • Loading branch information
miek authored Oct 28, 2024
2 parents 2365156 + 7d11f3f commit 01ee4a4
Show file tree
Hide file tree
Showing 9 changed files with 386 additions and 142 deletions.
167 changes: 119 additions & 48 deletions src/capture.rs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1328,8 +1328,8 @@ fn device_context_menu(
FunctionDescriptor(desc) => bytes_of(desc),
InterfaceDescriptor(desc) => bytes_of(desc),
EndpointDescriptor(desc) => bytes_of(desc),
OtherDescriptor(Other(_, bytes)) => bytes,
OtherDescriptor(Truncated(_, bytes)) => bytes,
OtherDescriptor(Other(_, bytes), _) => bytes,
OtherDescriptor(Truncated(_, bytes), _) => bytes,
_ => return Ok(None)
}.to_vec();
Ok(Some(context_popover(
Expand Down
Loading

0 comments on commit 01ee4a4

Please sign in to comment.