Skip to content

Windows: include hub devices in list like other platforms#85

Merged
kevinmehall merged 1 commit intokevinmehall:mainfrom
tuna-f1sh:win-hub-devices
Oct 19, 2024
Merged

Windows: include hub devices in list like other platforms#85
kevinmehall merged 1 commit intokevinmehall:mainfrom
tuna-f1sh:win-hub-devices

Conversation

@tuna-f1sh
Copy link
Contributor

I note there is mention of this in the docs but is it intended or just the nature of only using GUID_DEVINTERFACE_USB_DEVICE? Since importing GUID_DEVINTERFACE_USB_HUB for the list_buses, I realise that non-root hubs can be obtained with this too in the list_devices().

I believe it makes since to add it so hubs are included in the device list. If only because it makes Windows listing the same as the other platforms. I also think it makes sense as hub are devices and descriptors can be read, control messages used etc. unlike root hubs.

@kevinmehall
Copy link
Owner

Yeah, this seems to work, so no reason to exclude them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants