USB services: Difference between revisions
Smartperson (talk | contribs) attempt to improve clarity on what 'former' refers to |
|||
Line 48: | Line 48: | ||
The endpoints are configured using [[#GetDsEndpoint]], the total number of endpoints is the number of open [[#IDsEndpoint]] sessions. bInterfaceNumber is {0-based index for the enabled [[#IDsInterface]] session.} Some of the interface fields are configured using [[#GetDsInterface]]. | The endpoints are configured using [[#GetDsEndpoint]], the total number of endpoints is the number of open [[#IDsEndpoint]] sessions. bInterfaceNumber is {0-based index for the enabled [[#IDsInterface]] session.} Some of the interface fields are configured using [[#GetDsInterface]]. | ||
Additional descriptors for use with interfaces | Additional descriptors for use with interfaces and endpoints can't be configured with usbds, even though the former is used for the default HID interface. This seems to be the main(?) restriction with using usbds for Switch-as-arbitrary-devices. The device class fields can't be configured, interface class fields are set instead. | ||
Bus 003 Device 006: ID 057e:2000 Nintendo Co., Ltd | Bus 003 Device 006: ID 057e:2000 Nintendo Co., Ltd |