retroarch: auto-detect joypads

Set the 'joypad_autoconfig_dir' setting to where autoconfig files are,
instead of using the built-in default of ~/.config/retroarch/autoconfig,
which is empty.

Tested with my PS5 DualSense controller, which now works.

(cherry picked from commit 9d793505b9)
This commit is contained in:
Bjørn Forsman
2023-07-19 14:01:25 +02:00
parent f9f8c1c65c
commit e1bbe258a6

View File

@@ -2500,6 +2500,9 @@ with pkgs;
withAssets = true;
withCoreInfo = true;
};
settings = {
joypad_autoconfig_dir = "${retroarch-joypad-autoconfig}/share/libretro/autoconfig";
};
};
retroarch-assets = callPackage ../applications/emulators/retroarch/retroarch-assets.nix { };