Input: PS5 pads (DualSense, DualSense Edge) read from HID, over USB or Bluetooth

XInput is read first; HID pads take the slots XInput leaves free (VICTORY_DUALSENSE: 0 off, 1 both, unset auto). dualsense.rs is taken unchanged; Host reads XInput in xinput() and keeps the HID owner of each slot; victory-hle gets Win32_Devices_DeviceAndDriverInstallation and Win32_Devices_HumanInterfaceDevice. The mouse capture (#17) and F1 menu paths are unchanged.

Source: LooperSalty/AnyXboxX third_party/victory crates/victory-hle/src/modules/gameinput/dualsense.rs
This commit is contained in:
Blitzball996 committed 2026-11-27 14:43:53 +08:00
1 parent 06afe633e6
commit 025abd3dc8
3 files changed
+705 -10

No files matched your search

+2
View File
@@ -18,6 +18,8 @@ tracing.workspace = true
[target.'cfg(windows)'.dependencies]
windows-sys = { workspace = true, features = [
"Win32_Devices_DeviceAndDriverInstallation",
"Win32_Devices_HumanInterfaceDevice",
"Win32_Foundation",
"Win32_Globalization",
"Win32_Graphics_Gdi",