Boris Faure
ae4fb433ae
usb-hid: all the RequestHandler method accept &mut self
2024-04-15 19:57:18 +02:00
Boris Faure
41415fae0d
usb/hid: make RequestHandler::set_report(&mut self,…)
...
That way, it is possible to change some fields in the RequestHandler based
on outside report.
2024-04-15 19:57:18 +02:00
Rafael Bachmann
31d4516516
Apply Pedantic Clippy Lints
2023-10-15 23:52:44 +02:00
Rafael Bachmann
66e62e9994
Fix clippy
2023-10-15 22:25:35 +02:00
Dirk Stolle
0584312ef0
Fix some typos
2023-05-08 23:25:01 +02:00
James Munns
20aa86d63e
Address review comments
2023-03-27 18:21:11 +02:00
James Munns
a6cef4baf2
Add logging and interface for debugging buffer usage
2023-03-27 14:19:00 +02:00
Dario Nieuwenhuis
3af991ab63
usb: unify ControlHandler+DeviceStateHandler, route all control requests to all handlers.
...
- Allows classes to handle vendor requests.
- Allows classes to use a single handler for multiple interfaces.
- Allows classes to access the other events (previously only `reset` was available).
2023-02-08 00:17:08 +01:00
bors[bot]
465e4c8b19
Merge #1151
...
1151: USB: allow setting the interface string for interface alt settings r=Dirbaio a=mattico
This is a breaking change to embassy-usb's API.
Co-authored-by: Matt Ickstadt <matt@beckenterprises.com>
2023-02-01 00:36:22 +00:00
Dario Nieuwenhuis
ca10fe7135
usb: docs
2023-01-31 22:27:19 +01:00
Matt Ickstadt
7ecb05ff77
usb: allow setting the interface string for interface alt settings
2023-01-13 12:10:36 -06:00
Gabriel Smith
4d84b5469e
Drive-by documentation link fixes
2022-11-27 16:32:18 -05:00
Dario Nieuwenhuis
f27a47a37b
usb: move classes into the embassy-usb crate.
2022-09-26 13:00:21 +02:00