I can't upload to my Arduino

So im new to all of this. I just got a chinese arduino nano to complete a personal proyect and need to upload some code to it. I've tried to do it from the arduino app but when i press upload it stays uploading for a very long time and then gives me this error

Arduino:1.8.9 (Windows 10), Tarjeta:"Arduino/Genuino Micro"

avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
Found programmer: Id = "�"; type = �
Software Version = i.

It is an Arduino nano but the program only works if I put it as Genuino/micro, in nano mode it gives an error saying the board isn't the type selected

Also when I try to get information of the board from the arduino software it says the board is unknown.

I have already downloaded the software for this chinese arduinos and whatched many tutorials related but still no solution? Do you know what can be the cause of this?

Thanks

Arduino/Genuino Micro

It looks like you selected the wrong board type. It should say "Nano" not "Micro"

I finally fixed it. The problem is that I was trying to use the nano for a button matrix but it seems it doesn't support it. I tried in a micro I have and everything work perfectly

The problem is that I was trying to use the nano for a button matrix but it seems it doesn't support it.

Sorry, but I don't understand what you are saying.

Can you please post your code

I followed this tutorial (MAKE THIS BUTTON BOX | 32 FUNCTION w ENCODERS - YouTube) and used the code provided in the description but with a Arduino nano when you can't use this board for this particular case, I changed it for a Arduino micro now and everything worked fine

The reason that you can't use a Nano is that the program uses the Joystick library which the Nano does not support. It has nothing to do with the button matrix itself