Eleego Nano 'Gamepad'does not name a type

Using a Eleego Nano to work on making a GamePi_zero.
After installing the Libs (as i assume correctly) by following the exact directions listed.
Once i try to compile the code i get the error 'Gamepad' does not name a type.

Code: GitHub - gamelaster/ArduinoGamepad: A GamePad HID library for Arduino Pro Micro/Leonardo (ATMega32u4)

I did some digging into other people with the error but i see that it is mostly LIB errors.

Check the case of you object, all names are case sensitive.

What do you mean by that?

the 'Gamepad' name?

techytoon:
GitHub - gamelaster/ArduinoGamepad: A GamePad HID library for Arduino Pro Micro/Leonardo (ATMega32u4)

A GamePad HID library for Arduino Pro Micro/Leonardo (ATMega32u4)

Does not work on a Nano.

I was just coming to that conclusion last night, Thank you for putting it simple for me.
Do you guys have any recommendations for a MEGA328P code to make a controller such at the one i linked in the original post? I am trying to learn coding for this but i am struggling.