https://bugs.winehq.org/show_bug.cgi?id=57320
Bug ID: 57320 Summary: Zenless zone zero after losing focus is no longer responsive to gamepad input Product: Wine Version: 9.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: francisco278herrera@gmail.com Distribution: ---
Zenless zone zero after losing focus is no longer responsive to gamepad input.
To reproduce install the game from the official website https://zenless.hoyoverse.com/en-us/ once the game is downloaded and installed, connect a gamepad with xinput support via USB and start the game. You will need to create an account for the game, this has its own bugs in wine but they belong in another bug report. You will also need to install dxvk using winetricks.
Once in game, if the game has not lost focus so far, i.e. you haven't switched apps with alt tab on KDE or gnome, then the gamepad should work well with the game. But as soon as you switch apps using alt tab and then return to the game, the gamepad stops working with the game.