dolphin/Source/Core/Core
Thales MG 97bc28aac4 feat(linux): allow configuring real wiimotes with known bluetooth addresses
This adds the option to configure real Wiimotes by specifying their Bluetooth addresses in
the configuration file.  This allows off-brand Wiimotes to work without using the
Bluetooth Passthrough option, if you know their Bluetooth addresses beforehand.

Despite correctly setting the LAP to `0x9e8b00` in `WiimoteScannerLinux::FindWiimotes`
while scanning, which is indeed enough to make off-brand / knock-off Wiimotes respond to a
Bluetooth Inquiry, some (several? all?) bluetooth adapters seem to override and ignore
this given LAP value when performing the Inquiry, and actually use the `0x9e8b33` value as
if a null pointer have been given to `hci_inquiry`, as inspection of USB/Bluetooth packets
by Wireshark indicate.  Off-brand Wiimotes don't respond to inquiries with this LAP.

If one happens to know the Bluetooth address of their Wiimote (for example, by checking
`BluetoothPassthrough.LinkKeys` after using Bluetooth Passthrough, or other means such as
directly using `libusb` to force the adapter to use the correct LAP in the Inquiry), then
it's enough to add those addresses to the vector of found Wiimotes.

Since this a niche use case and I only happen to know and have tested in Linux, this
change only affects the `WiimoteScannerLinux` backend.  It's likely that it could be added
to other backends, but I'm unfamiliar with these.

If no addresses are given or this config section does not exist, behavior is completely
unchanged.
2025-02-23 18:27:48 -03:00
..
Boot Core: Store object name separately for symbols 2024-11-11 12:36:53 -05:00
Config feat(linux): allow configuring real wiimotes with known bluetooth addresses 2025-02-23 18:27:48 -03:00
ConfigLoaders Core/Config: Use structured bindings for cleaner std::map/pair usage. 2025-01-17 22:21:39 -06:00
Debugger Simplify std::find with Common::Contains 2025-01-01 09:52:03 -08:00
DSP Core/VideoCommon: Fix some weird (!eof) logic. 2024-12-30 20:13:59 -06:00
FifoPlayer Merge pull request #13090 from mitaclaw/ranges-modernization-1-trivial 2024-10-15 17:08:55 +02:00
HLE DolphinQt: Signal Host::JitCacheInvalidation in more places 2024-10-23 23:43:25 -07:00
HW feat(linux): allow configuring real wiimotes with known bluetooth addresses 2025-02-23 18:27:48 -03:00
IOS LibusbDevice: Don't detach kernel drivers on macOS 2025-02-01 10:32:20 +13:00
PowerPC Merge pull request #13324 from Sintendo/jitarm64-cmp-imm 2025-02-15 00:30:34 -05:00
AchievementManager.cpp Scale back hardcore code block 2024-11-27 21:21:26 -05:00
AchievementManager.h Merge pull request #13204 from LillyJadeKatrin/retroachievements-allow-batch 2025-01-20 23:35:17 +01:00
ActionReplay.cpp Add AR Code Whitelist Approval 2024-11-27 21:21:26 -05:00
ActionReplay.h Add AR Code Whitelist Approval 2024-11-27 21:21:26 -05:00
ARDecrypt.cpp
ARDecrypt.h
BootManager.cpp Config: Don't depend on is_dirty to save SYSCONF during restore 2024-07-27 16:45:33 +02:00
BootManager.h
CheatCodes.h
CheatGeneration.cpp
CheatGeneration.h
CheatSearch.cpp
CheatSearch.h Remove redundant semicolons 2024-08-20 14:59:54 +02:00
CMakeLists.txt CMakeLists: Add flag to disable Cubeb 2025-01-25 14:06:55 -05:00
CommonTitles.h
ConfigManager.cpp Core: apply Dolphin OnFrame patches right after boot 2024-10-16 02:58:03 +01:00
ConfigManager.h
Core.cpp DolphinQt: Rename the pack/unpack SD Card buttons. 2025-02-12 13:30:48 -06:00
Core.h Partially revert "Revert "Audit uses of IsRunning and GetState"" 2024-10-04 18:35:41 +02:00
CoreTiming.cpp CoreTiming: Simplify algorithms using ranges and three-way comparison 2024-10-11 12:08:22 -07:00
CoreTiming.h CoreTiming: Simplify algorithms using ranges and three-way comparison 2024-10-11 12:08:22 -07:00
CPUThreadConfigCallback.cpp Remove redundant semicolons 2024-08-20 14:59:54 +02:00
CPUThreadConfigCallback.h C++20: Synthesize operator!= From operator== 2024-10-10 20:23:55 -07:00
DolphinAnalytics.cpp AX: add analytics quirks for wiimote filters 2024-08-24 19:47:22 +01:00
DolphinAnalytics.h AX: add analytics quirks for wiimote filters 2024-08-24 19:47:22 +01:00
DSPEmulator.cpp
DSPEmulator.h
FreeLookConfig.cpp
FreeLookConfig.h
FreeLookManager.cpp StringUtil: Remove JoinStrings 2024-09-22 21:09:36 -07:00
FreeLookManager.h
GeckoCode.cpp Add Gecko Code Whitelist Approval 2024-11-27 21:21:25 -05:00
GeckoCode.h Add Gecko Code Whitelist Approval 2024-11-27 21:21:25 -05:00
GeckoCodeConfig.cpp GeckoCodeConfig: Remove HTTPS workaround for Android 2025-01-07 23:02:13 -05:00
GeckoCodeConfig.h GeckoCodeConfig: Remove HTTPS workaround for Android 2025-01-07 23:02:13 -05:00
Host.h GDBStub: Signal Breakpoint Changes To Host 2024-11-15 15:12:11 -08:00
HotkeyManager.cpp Modernize std::find_if with ranges 2024-10-10 15:28:11 -07:00
HotkeyManager.h Add Open Achievements Hotkey 2024-07-06 07:36:31 -04:00
LibusbUtils.cpp
LibusbUtils.h
MachineContext.h
MemoryWatcher.cpp
MemoryWatcher.h
MemTools.cpp
MemTools.h
Movie.cpp Merge pull request #13116 from mitaclaw/ranges-modernization-8-trivial-of 2024-12-26 16:51:53 -05:00
Movie.h Add SYSCONF country code to DTM 2024-12-30 07:50:22 -08:00
NetPlayClient.cpp Modernize std::any_of with ranges 2024-12-15 19:54:16 -08:00
NetPlayClient.h
NetPlayCommon.cpp Modernize std::all_of with ranges 2024-12-15 19:50:34 -08:00
NetPlayCommon.h
NetPlayProto.h Force NetPlay Clients to Host Hardcore Status 2024-11-10 09:40:47 -05:00
NetPlayServer.cpp NetPlay: Implement GetInterfaceListInternal for Windows. 2025-01-04 00:29:34 -06:00
NetPlayServer.h
NetworkCaptureLogger.cpp
NetworkCaptureLogger.h
PatchEngine.cpp Core: Remove redundant lock for FilterApprovedPatches call 2024-12-07 19:06:23 +01:00
PatchEngine.h Core: apply Dolphin OnFrame patches right after boot 2024-10-16 02:58:03 +01:00
State.cpp Simplify std::find_if with Common::Contains 2025-01-01 09:52:03 -08:00
State.h
SyncIdentifier.h
SysConf.cpp Modernize std::copy with ranges 2024-10-10 00:53:48 -07:00
SysConf.h
System.cpp
System.h Remove redundant semicolons 2024-08-20 14:59:54 +02:00
TitleDatabase.cpp
TitleDatabase.h
WC24PatchEngine.cpp Simplify std::find with Common::Contains 2025-01-01 09:52:03 -08:00
WC24PatchEngine.h
WiiRoot.cpp
WiiRoot.h
WiiUtils.cpp Merge pull request #13228 from OatmealDome/fix-curl-2 2025-01-08 18:14:10 +01:00
WiiUtils.h