Please refer to the following FX3 SDK installation path: C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\hid_examples\cyfx3_hid
Please import the above project into the FX3 SDK and program the FX3 with the image.
The firmware makes FX3 enumerate as a HID input device as shown in figures attached.
When you press switch SW2 on the FX3 board, it would make the mouse pointer on the screen to complete a circle for as many times as the switch is pressed.
I use CY68013 chip USB2.0, the board is designed by myself, and the download is FX2 SDK. Now the problem is that I want my board to be recognized as a mouse, and I don't know how to modify hid program. If you can, please teach me how to modify, I will be very grateful, thank you!
Please refer to Application note AN64020 and the example provided in this link which describes how to implement a composite HID device.
You can refer to the HID mouse implementation part of the Application note.