I'm using a wireless Xbox One S controller to play GZDoom.
Controller support via xinput in Windows has always worked flawlessly for me; including proper handling of controller disconnect and reconnect while the game is running.
After I erased Windows and moved on to Linux full-time, this is no longer the case, unfortunately.
With latest GZDoom and LZDoom, if the controller disconnects for some reason such as battery dying, or powersave timeout while I'm taking a break while the game still running, when I re-connect the controller, it no longer works. I have to relaunch the game with the controller turned on, to continue using it. I have tested this both with bluetooth and wireless dongle connection, and they both have the same issue. I'm using the xpadneo kernel driver.
As you can imagine this is quite a bummer. I believe newer versions of libSDL2 offer events handling around controller (dis)connection. Could it be made so that in platforms such as Linux, we have 'dynamic' controller connection support at runtime?