When I connect it, doesn't move, even though I followed all the steps. I installed HID-Project by NicoHood, USB Host Shield 2.0, and Mouse by Arduino, but it's no use! I'm using an Arduino Leonardo with a host shield, and the mouse I'm using is a Razer Cobra Pro.
Ps The Arduino appears on the computer, and the input number also appears, such as #COM3
This code was designed for my Glorious Model O Mouse, so if it doesn't work with yours, you will need to modify it according to the instructions below.
I performed both steps on the GitHub link you provided, but I'm still facing the same problem: the mouse is frozen. However, when I go to the serial monitor, the coordinates are there, and when I move the mouse or click right or left, the Arduino gives a signal by lighting up the light! I don't understand the problem! Could it be because I'm using a laptop?
It didn't work, and I tried several mouse from all categories, and it was the same thing! The only thing that worked was defining each mouse movement individually (right, left, etc.) as shown in the picture, but the mouse doesn't move or respond normally at all.