Introduction - If you have any usage issues, please Google them yourself
STM32 HID USB develop routines (document), including lower machine
PC-driven and VC6 host computer to write,
The whole process has a detailed analysis, with the aid of diagrams, very good reference example.