Keyboard doesn't work when i connect the steering wheel

Im trying to use a steering wheel to play racing games with it (Thrustmaster Ferrari GT 3 in 1) but whenever i have it connected on the USB, the keyboard stops working completely in RetroArch. That means, i can’t access the menu with F1 (none of the hotkeys work) so i can’t configure the controls or anything else for that matter. I can only press alt+F4 to quit.

I even tried a fresh RetroArch.cfg and the behavior is the same. I tried on a different PC with a slightly older RetroArch version, still same behavior.

How can i make the keyboard work while the wheel is connected, so i can configure controls and other things? I never had this issue with other controllers, only the steering wheel does that.