USB OTG gamepad stop working when starts game

Hello, I have a problem with usb otg gamepad: when game stars, gamepad doesn’t work. For make it work i have to disconnect and reconnect usb cable. It’s a bug? I use an old Logitech Precision. Redmi 9 - Android 10

Log: https://file.io/iei2PwLq8LN7

Log links was dead: https://file.io/pkldgQyYgRf1

Same problem here, I’m using a PS2 controller with a USB adapter. In windows works perfect. But in Android, any loaded game makes the controller stop working.