summaryrefslogtreecommitdiff
path: root/gusb/gusb-device-event.c
Commit message (Collapse)AuthorAgeFilesLines
* trivial: Fix some docs warnings when compiling the tarballRichard Hughes2022-09-121-1/+1
|
* Allow emulating failed eventsRichard Hughes2022-09-121-0/+41
| | | | | This is required to emulate devices that just reset (without completing the current transfer) when asked to reset.
* Fix loading events using _g_usb_device_event_load()Richard Hughes2022-09-091-1/+1
|
* Save device events when requiredRichard Hughes2022-09-081-0/+186
This allows us to simulate an entire context of devices, simulating responses as if the hardware is connected. This allows building rich device-specific unit tests in programs like fwupd, without having to have the hardware attached.