Gamepad switched on after game launch does not appear #148

Closed
opened 2026-12-02 01:56:31 +00:00 by github-bot · 1 comment
Owner

@⁠ghsali on GitHub · 2026-12-02 01:51 UTC · original

On Linux, switching a controller on after the game starts does not appear to the game as an input device.
With SDL_JOYSTICK_DISABLE_UDEV=1, SDL watches /dev/input with inotify instead, which works in any namespace. Exporting it from run.sh:

export SDL_JOYSTICK_DISABLE_UDEV=${SDL_JOYSTICK_DISABLE_UDEV:-1}

is enough to fix this.

**@⁠ghsali** on GitHub · 2026-12-02 01:51 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/148) On Linux, switching a controller on after the game starts does not appear to the game as an input device. With SDL_JOYSTICK_DISABLE_UDEV=1, SDL watches /dev/input with inotify instead, which works in any namespace. Exporting it from run.sh: ``` export SDL_JOYSTICK_DISABLE_UDEV=${SDL_JOYSTICK_DISABLE_UDEV:-1} ``` is enough to fix this.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 01:56:31 +00:00
Author
Owner

@⁠ghsali on GitHub · 2026-12-02 05:30 UTC · original

Fixed in #129

**@⁠ghsali** on GitHub · 2026-12-02 05:30 UTC · [original](https://github.com/lobomfz/VIctory-xmem/issues/148#issuecomment-7336007095) Fixed in https://git.gtahub.st/github/lobomfz--VIctory-xmem/pulls/129
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/lobomfz--VIctory-xmem#148
No description provided.