Question
STM32 USB HID HOST enumeration gamepad is not successful, what should I do?
STM32 USB HID HOST Reads the gamepad. When enumerated, it finds that the handle has a custom device interface type(InterfaceClass) of 0xFF and HID of 0x03. The code is generated using STM32cubemx (5.0.1).
Usbh_core.c:
If(phost->pClass[idx]->ClassCode == phost->device.CfgDesc.Itf_Desc[0].bInterfaceClass)
The former is 0x03 and the latter is 0xFF.