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.
This commit is contained in:
Bjørn Forsman
2023-07-19 14:18:04 +02:00
parent 35c3c81655
commit 9d793505b9
+3
View File
@@ -2651,6 +2651,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 { };