dolphin/Source
Filoppi 125971d9f2 InputCommon: fix default input config default device not being loaded/found
Fixes bug: https://bugs.dolphin-emu.org/issues/12744

Before e1e3db13ba
the ControllerInterface m_devices_mutex was "wrongfully" locked for the whole Initialize() call, which included the first device population refresh,
this has the unwanted (accidental) consequence of often preventing the different pads (GC Pad, Wii Contollers, ...) input configs from loading
until that mutex was released (the input config defaults loading was blocked in EmulatedController::LoadDefaults()), which meant that the devices
population would often have the time to finish adding its first device, which would then be selected as default device (by design, the first device
added to the CI is the default default device, usually the "Keyboard and Mouse" device).

After the commit mentioned above removed the unnecessary m_devices_mutex calls, the default default device would fail to load (be found)
causing the default input mappings, which are specifically written for the default default device on every platform, to not be bound to any
physical device input, breaking input on new dolphin installations (until a user tried to customize the default device manually).

Default devices are now always added synchronously to avoid the problem, and so they should in the future (I added comments and warnings to help with that)
2021-12-05 23:35:47 +02:00
..
Android Merge pull request #10235 from AdmiralCurtiss/netplay-save-sync-boot 2021-11-23 16:19:56 +01:00
Core InputCommon: fix default input config default device not being loaded/found 2021-12-05 23:35:47 +02:00
DSPSpy DSPSpy: Replace less_test with cond_test 2021-08-22 17:07:41 -07:00
DSPTool Core: Add GBA host interface 2021-07-13 16:42:49 +02:00
PCH msvc: update to vs2022 and windows sdk 10.0.22000 2021-11-11 08:01:26 -08:00
UnitTests Merge pull request #10055 from JosJuice/jitarm64-reuse-memory 2021-11-20 17:35:24 -05:00
VSProps msbuild: remove workaround for older winsdk 2021-11-15 16:23:33 -08:00
.clang-format
CMakeLists.txt Android: Don't hold gameFileCache lock during updateAdditionalMetadata 2021-08-24 15:35:39 +02:00
dolphin-emu.sln msvc: update to vs2022 and windows sdk 10.0.22000 2021-11-11 08:01:26 -08:00