JMC47
9143c4cc95
Merge pull request #14172 from sepalani/usb-iso-ret
...
IOS/USB: Add helper to set return values of IsoMessage's packets
2026-03-12 16:33:07 -04:00
Sepalani
6f3282e073
IOS/USB: Add missing vector header in Emulated/Microphone.h
2026-02-11 18:25:15 +04:00
Martino Fontana
a14c88ba67
Remove unused imports
...
Yellow squiggly lines begone!
Done automatically on .cpp files through `run-clang-tidy`, with manual corrections to the mistakes.
If an import is directly used, but is technically unnecessary since it's recursively imported by something else, it is *not* removed.
The tool doesn't touch .h files, so I did some of them by hand while fixing errors due to old recursive imports.
Not everything is removed, but the cleanup should be substantial enough.
Because this done on Linux, code that isn't used on it is mostly untouched.
(Hopefully no open PR is depending on these imports...)
2026-01-25 16:12:15 +01:00
JMC47
035bcffc63
Merge pull request #14289 from Sintendo/typos
...
Fix various typos and spelling mistakes
2026-01-17 19:10:50 -05:00
Sintendo
1e0473e44f
Fix various typos and spelling mistakes
2026-01-17 20:11:38 +01:00
Joshua Vandaële
55f0715ad4
c++23: Replace Common::ToUnderlying with std::to_underlying
...
Requires at least GCC 11, Clang 13, MSVC 19.30 (VS2022 17.0), or AppleClang 13.1.6 (XCode 13.3).
2026-01-09 23:49:10 +01:00
Sepalani
b05a7e2059
IOS/USB: Add helper to set return values of IsoMessage's packets
2026-01-01 15:44:18 +04:00
Craig Carnell
ec6f511c95
mingw: replace usages of Interface as clashes with existing struct
2025-12-11 12:18:02 +00:00
JosJuice
807488caf9
Merge pull request #14066 from Biendeo/master
...
IOS: Logitech USB Microphone Basic Support
2025-11-25 23:12:39 +01:00
Biendeo
07324ca067
USB: Add emulated Logitech USB Microphone
...
Co-authored by: supermilkdude67 <w.f.s.jazzfyre@gmail.com >
2025-11-25 10:40:30 +11:00
JosJuice
5769fc7372
Merge pull request #14134 from jordan-woyak/mercusys-rtl-firmware
...
Bluetooth/RealtekFirmwareLoader: Add Mercusys MA530 to list.
2025-11-23 14:29:08 +01:00
Jordan Woyak
41b6ab40e1
Merge pull request #13619 from y21/usbv5_getversion_size
...
Check buffer out/size in HID_USBv5/USB_VEN GetVersion Ioctl
2025-11-19 17:32:33 -06:00
Jordan Woyak
1514c0f256
Bluetooth/RealtekFirmwareLoader: Add Mercusys MA530 to list.
2025-11-17 19:31:59 -06:00
Mateus B. Cassiano
9bf6906432
RealtekFirmwareLoader: more RTL8761B device IDs
2025-09-28 22:04:06 -04:00
Matthieu Speder
9d0b3e0e39
RealtekFirmwareLoader: Alternate USB PID for Ugreen CM390
2025-09-25 12:04:54 +02:00
Joshua Vandaële
83cbedd609
RealtekFirmwareLoader: Fix shadowed variable warning
2025-09-07 16:54:11 +02:00
JMC47
c6d55d1b50
Merge pull request #13791 from jordan-woyak/realtek-firmware-loader
...
BTReal: Implement Realtek firmware loading.
2025-08-04 19:42:59 -04:00
Admiral H. Curtiss
06e05e0f90
Merge pull request #13794 from Sintendo/doouble-lookup
...
Avoid map/set double lookups
2025-08-01 21:43:12 +02:00
Jordan Woyak
95ad2d804d
RealtekFirmwareLoader: Automatically download missing firmware from gitlab.com.
2025-07-23 19:58:25 -05:00
Jordan Woyak
bfef65a9d1
BTReal: Implement Realtek Bluetooth firmware loading.
...
Logic and structures are largely taken from Linux source:
drivers/bluetooth/btusb.c
drivers/bluetooth/btrtl.c
drivers/bluetooth/btrtl.h
2025-07-23 19:58:25 -05:00
Jordan Woyak
0e90b85bab
LibUSBBluetoothAdapter: Add SendBlockingCommand function.
2025-07-23 19:58:25 -05:00
Jordan Woyak
5336c23329
Core: Move HCICommandPayload struct template from BTReal to LibUSBBluetoothAdapter header.
2025-07-23 19:58:25 -05:00
Jordan Woyak
2b541361c6
Common: Move AsU8Span utility function from BTReal to Common/BitUtils.
2025-07-23 19:58:25 -05:00
JMC47
45ba6ed6b1
Merge pull request #13770 from JoshuaVandaele/usbutils
...
USBUtils: Refactor USB device handling
2025-07-23 20:57:17 -04:00
Joshua Vandaële
4ae195ee60
USBUtils: Refactor USB device handling
2025-07-23 03:26:25 +02:00
JMC47
c6de692d01
Merge pull request #13784 from jordan-woyak/btreal-restore-keys-on-hci-reset
...
BTReal: Always restore link keys on HCI reset.
2025-07-21 21:00:20 -04:00
Admiral H. Curtiss
68713e08b4
Common: Move GetDeviceProperty() into its own header
...
Otherwise we include Windows headers in the entire codebase through CommonFuncs.h
2025-07-19 21:24:51 +02:00
Sintendo
f2392e4048
Avoid map/set double lookups
...
Fix some common anti-patterns with these data structures.
- You can dereference the iterator returned by `find` to access the
underlying value directly, without an extra `operator[]`/`at`.
- Rather than checking for an element before insertion/deletion, you can
just do the operation and if needed check the return value to
determine if the insertion/deletion succeeded.
2025-07-08 06:53:42 +02:00
Jordan Woyak
13784f842e
LibusbUtils: Add GetStringDescriptor function to return unicode strings and replace our libusb_get_string_descriptor_ascii calls.
2025-07-06 19:41:14 -05:00
Jordan Woyak
8b2d569932
BTReal: Always restore link keys on HCI reset.
2025-06-30 04:07:45 -05:00
Jordan Woyak
936887838a
BTReal: Don't falsely increase a controller's ACL packet number buffer size. WARN_LOG if the size is smaller than that of the original BT module.
2025-06-28 18:54:21 -05:00
Jordan Woyak
7fe4a6e4f3
LibUSBBluetoothAdapter: Change the request type of our generated HCI commands from LIBUSB_RECIPIENT_INTERFACE to LIBUSB_RECIPIENT_DEVICE.
...
This changes the value from 0x21 to 0x20 which now matches the value that Wii software generates.
2025-06-28 18:54:21 -05:00
Jordan Woyak
0e25979449
BTReal: Attempt to configure HCI_SERVICE_TYPE_GUARANTEED on all connections for improved performance with certain adapters.
2025-06-28 18:54:21 -05:00
Jordan Woyak
350ec54779
BTReal: Improvements:
...
Separate LibUSB logic into LibUSBBluetoothAdapter class.
Submit transfers on thread with proper timing.
Throttle before ACL input for reduced input latency.
Immediately send IPC replies for outgoing data.
Continuously submit libusb transfers to fill HCI/ACL input queues.
Simplify endpoint handling and state saving.
Other cleanups.
2025-06-28 18:54:16 -05:00
Jordan Woyak
541dbdfead
IOS: Move DoStateForMessage from BTEmu to BTBase.
2025-06-28 18:45:52 -05:00
Shawn Rast
71fa08813a
BT passthrough uses selected device rather than first alphabetical compatible device
2025-06-24 15:39:46 -05:00
Jordan Woyak
3a94289ad6
Merge pull request #13744 from JoshuaVandaele/windows-specific-getdevicename
...
Host: Implement a Windows-only implementation of `GetDeviceNameFromVIDPID`
2025-06-15 15:44:31 -05:00
Dr. Dystopia
ca8f9b672b
Source: Remove redundant lambda parameter lists
2025-06-14 10:19:31 +02:00
Joshua Vandaële
d93245cc7a
Host: Implement a Windows-only implementation of GetDeviceNameFromVIDPID
2025-06-13 17:46:53 +02:00
Jordan Woyak
65f3ba70f5
Merge pull request #13522 from tygyh/Enforce-overriding-destructor-style-Core&UnitTests
...
Core & UnitTests: Make overriding explicit and remove redundant virtual specifiers on overriding destructors
2025-06-07 17:55:14 -05:00
Joshua Vandaële
241834709b
Host: Clean up device handle
2025-06-07 16:55:45 +02:00
JMC47
a62449711f
Merge pull request #12769 from sepalani/wii-speak
...
IOS/USB: Emulate Wii Speak using cubeb
2025-05-21 13:54:56 -04:00
Jordan Woyak
faaf13eaad
Merge pull request #13562 from sanjay900/santroller-support
...
LibusbDevice: Send wakeup command to Santroller devices
2025-05-20 01:13:39 -05:00
y21
f665eaad5f
Check buffer out and size in HID_USBv5/USB_VEN GetVersion Ioctl
2025-05-19 18:17:21 +02:00
Sepalani
17e57f550c
IOS/USB: Change HIDv4.cpp LogLevel to avoid INTRMSG killing performance
...
This message can be sent a lot when polling inputs from a keyboard. HIDv5.cpp doesn't log INTRMSG in such a way. If needed, log messages can be added into specific devices instead.
2025-05-08 22:14:01 +04:00
Sepalani
4efbd35a5e
IOS/USB: Implement Wii Speak SAMPLER_FREQ register properly
...
Fix the default sampling rate which should be 16KHz
2025-05-07 20:33:22 +04:00
Sepalani
74a875e9d6
IOS/USB: Implement a bare-bones Wii Speak loudness level
...
Add a volume modifier to the UI which relies on gain.
2025-05-07 20:33:22 +04:00
Sepalani
1f0ff42aa0
IOS/USB: Implement Wii Speak REQUEST_SET_INTERFACE command
...
Based on LibusbDevice::SubmitTransfer code
2025-05-07 20:33:22 +04:00
Sepalani
61ab0faab8
Config: Rename MAIN_WII_SPEAK_CONNECTED to MAIN_WII_SPEAK_MUTED
2025-05-07 20:33:22 +04:00
Sepalani
aea5054509
CubebUtils: Add COM helper class
2025-05-07 20:33:22 +04:00