I came across a nice tutorial (8-bit data) and successfully had the code work with the STM32F103C6/8. Win11 can see it as a joystick.
*** Original HID_MOUSE_ReportDesc ***
0xA1, 0x02, // Collection (Logical)
0x05, 0x01, // Usage Page (Generic Ctrl...