You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Xenia is built with SDL2, which supports custom controller mappings via environment variable override or custom gamecontrollerdb.txt (which xenia even has an option for).
But in reality, it only applies built-in profiles and ignores any custom mappings in either environment variable, or in the specified db file. I'm not sure if it's relevant, but in log the order of operation is wrong: it applies the controller profile, and then tries to load custom mappings. But then it says it loaded 0 profiles from gamecontrollerdb.txt, so idk.
Describe what should happen
Xenia should load custom controller profiles first, then try to configure the controllers.
Or there should be an explicit button remapping option.
If applicable, provide a callstack here, especially for crashes
Slightly off-topic, but you can reverse a Switch Pro Controller's mapping with the environment variable SDL_GAMECONTROLLER_USE_BUTTON_LABELS set to 0.
It should work on Xenia too.
Mapping controllers using gamecontrollerdb.txt works fine i just tested it, you need to ensure your controller GUID is correct otherwise SDL will not update the mapping. HID = "sdl" must be set in the config too.
Third-party tools may give the wrong GUID for your controller such as SDL2 Gamepad Tool in my case. I would recommend using https://github.com/AntiMicroX/antimicrox which gives the correct GUID for my controller.
Validation
Describe what's going wrong
Xenia is built with SDL2, which supports custom controller mappings via environment variable override or custom gamecontrollerdb.txt (which xenia even has an option for).
But in reality, it only applies built-in profiles and ignores any custom mappings in either environment variable, or in the specified db file. I'm not sure if it's relevant, but in log the order of operation is wrong: it applies the controller profile, and then tries to load custom mappings. But then it says it loaded 0 profiles from gamecontrollerdb.txt, so idk.
Describe what should happen
Xenia should load custom controller profiles first, then try to configure the controllers.
Or there should be an explicit button remapping option.
If applicable, provide a callstack here, especially for crashes
No response
If applicable, upload a logfile and link it here
gamecontrollerdb.txt
xenia.log
The text was updated successfully, but these errors were encountered: