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