Input issue on shield TV

whenever I launch Retroarch on my Shield TV, my controller is recognized but not the inputs, which are assigned to player 2.

What could be the problem?

Hi.

Are there any other input devices connected to your Shield like a keyboard or mouse maybe via USB? Unplug them and try again. Or do you use the Shield Remote in combination with the controller? Shouldn’t be a problem, but to be sure restart the Shield, do not press any button on the remote (to avoid reconnecting it to the Shield) and only interact using your controller.

I have a usb mini keyboard plugged in. And it recognises the shield remote as player one and the controller as player 2