dolphin/Source/Core
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
..
AudioCommon Merge pull request #10169 from leoetlino/fmt-localtime 2021-11-07 00:08:14 -04:00
Common Merge pull request #10143 from Pokechu22/png-compression-level 2021-11-23 16:40:34 +01:00
Core Merge pull request #10243 from JosJuice/jitarm64-push-size 2021-11-24 16:53:06 -05:00
DiscIO RiivolutionPatcher: Use case-insensitive filename comparison when searching for files in a folder patch. 2021-11-20 01:15:18 +01:00
DolphinNoGUI Core/Boot: Refactor storage of boot-to-savestate data into a separate class. 2021-11-22 00:35:35 +01:00
DolphinQt InputCommon: fix default input config default device not being loaded/found 2021-12-05 23:35:47 +02:00
InputCommon InputCommon: fix default input config default device not being loaded/found 2021-12-05 23:35:47 +02:00
MacUpdater treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
UICommon Core, DolphinQt, UICommon: Fix all cases of -Wrange-loop-construct in gcc 11 2021-11-02 13:50:21 +01:00
UpdaterCommon Fix all uninitialized variable warnings (C26495) 2021-10-13 12:32:16 -07:00
VideoBackends Merge pull request #10222 from phire/fix-copy-filter-clamping 2021-11-18 17:48:33 -05:00
VideoCommon Merge pull request #10143 from Pokechu22/png-compression-level 2021-11-23 16:40:34 +01:00
WinUpdater treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
CMakeLists.txt
DolphinLib.ARM64.props
DolphinLib.props Add option for setting the PNG zlib compression level 2021-11-18 13:10:22 -08:00
DolphinLib.vcxproj msbuild: Move DivUtils to DolphinLib.props 2021-08-31 22:48:07 -07:00
DolphinLib.vcxproj.user
DolphinLib.x64.props