Problems with two input devices

Hello. I have a steering wheel and a gear stick connected to my PC. The problem is that it looks like UE4 “thinks” that it is one device, and buttons and axes don’t work properly. They are kind of “mixed”. Everything works when I unplug one of the devices. Is there a way to fix it? Thank you!