Controller isssues with n64

I have an xbox searies x controller and for some reason even after i configure the controller it in the home screen settings no inputs work when i go into a n64 game.

Hot keys wont close the game and no inputs are recognized to even play the game.

I also cant Bluetooth to it. It says pairing successfully but just continues to flash like its not connecting. The controller vibrates like it recognized it for a second but it doesn’t work.

The only way i can get the controller to work is through usb c directly connected

Any ideas?