If you release the button on the gamepad, the control immediately switches to the keyboard and mouse. It is very unpleasant to play because of this and everything was OK in the past tests, although such an error sometimes also appeared (restarting the game helped).
Gamepad from PS 5, with the latest firmware update and DSX (emulations for PS4 and x360 work similarly)