Martino Fontana
Martino Fontana
One "interesting" thing about the game, is that if it detects an AMD card but can't properly detect the driver version, the launcher will complain about outdated drivers, and the...
For SDL, instead of manually switching the values of the Switch Pro Controller, the SDL hint `SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS` could be used. (It's enabled by default) Documentation here: https://github.com/libsdl-org/SDL/blob/5b9fdc9dd12564b54612ef7bd45d4b119cb18f03/include/SDL3/SDL_hints.h#L563
I gave a look to [hid-nintendo.c](https://github.com/DanielOgorchock/linux/blob/ogorchock/drivers/hid/hid-nintendo.c) to see why it behaves like this. From what I think I've gathered: The static variable that controls the LED number is `input_num`. It...
I just realized that using one global counter would have a problem. If two controllers are connected, player one disconnects, then a controller is connected, they will both be "player...
This issue is still open.
Bump, is anything changing with SDL3?
So, a recap. Problem with PC gaming: when playing with a Nintendo controller, the prompts don't match the buttons you press. Is it severe? Not really, people don't look at...
> thats not reason enough to invert behaviors from one sdl version to another. Could say the same about [SDL 2.0.12](https://github.com/libsdl-org/SDL/releases/tag/release-2.0.12), which introduced this to begin with. (With 9a76bebfbc4984ffd78663e4e0c09e8a90f14958) >...
If you want to set the environment variable for the entire user, add the following line to `~/.bashrc` (assuming you are using Bash): ``` export SDL_GAMECONTROLLER_USE_BUTTON_LABELS=0 ``` https://wiki.archlinux.org/title/Environment_variables
I think this is a duplicate of #823.