Mouse not working with USB Host Shield

Hello, so I recently bought an Arduino Leonardo ATMEGA32u4 and a USB Host Shield. The whole soldering process went just fine. The problem is that my mouse is not working. I attempted three different mouses and neither of them worked (2x wireless mouses and 1x USB mouse). The USB mouse's lights didn't turn on either.

The weird thing is, if I plug in my wireless phone charger to my USB Host Shield, it powers on just fine and charges my phone, so I definitely know it's not a voltage issue (It uses 5V).

Mouses tested:
Razer Viper Ultimate - 1.5V
Logitech G703 - 3.7V
EVGA x17 - Unknown (Can't find any details about it)

Things I've already done in the Arduino IDE:

  • Installed USB Host Shield 2.0 Library
  • Used File -> Examples -> USB Host Shield 2.0 Library -> HID -> USBHIDBootMouse -> Verify & Upload
  • Tools -> Board -> Arduino Leonardo & Tools -> Port -> COM3 (Arduino Leonardo)

When I open up Serial Monitor as well, it shows "Start", but nothing happens when I try moving my mouse when I have it plugged into the USB host shield (No debug messages in the console, nothing).

All the mouses work as well. I tested them on my PC's normal USB ports and they all function as normal.

If anyone could give any guidance about what could be happening, that'd be great!

Welcome to the forum

What do you expect to happen ?

Thank you for the welcome!

I was expecting it to print out debug messages in the Serial Monitor console, but that didn't happen.

void MouseRptParser::OnMouseMove(MOUSEINFO *mi)
{
    Serial.print("dx=");
    Serial.print(mi->dX, DEC);
    Serial.print(" dy=");
    Serial.println(mi->dY, DEC);
};

Primarily this is what I was expecting it to print.

Hello @nighttimedev,

your topic has been moved to a more suitable location on the forum. Installation and Troubleshooting is not for problems with (nor for advice on) your project :wink: See About the Installation & Troubleshooting category.