List and select USB devices separately
List all USB devices in a first step, then select the matching one(s). This allows to report a user-friendly log message containing the list of devices, with the matching one(s) highlighted. PR #3005 <https://github.com/Genymobile/scrcpy/pull/3005>
This commit is contained in:
@@ -35,6 +35,7 @@ struct sc_usb_device {
|
||||
char *product;
|
||||
uint16_t vid;
|
||||
uint16_t pid;
|
||||
bool selected;
|
||||
};
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user