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
61 lines
1.7 KiB
TOML
61 lines
1.7 KiB
TOML
[package]
|
|
name = "victory-hle"
|
|
description = "Our implementation of the Xbox system API surface the title imports."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
publish.workspace = true
|
|
|
|
[dependencies]
|
|
victory-gpu.workspace = true
|
|
victory-loader.workspace = true
|
|
victory-pe.workspace = true
|
|
victory-formats.workspace = true
|
|
opus-pure.workspace = true
|
|
zlib-rs.workspace = true
|
|
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",
|
|
"Win32_Media",
|
|
"Win32_Security",
|
|
"Win32_Security_Cryptography",
|
|
"Win32_Storage_FileSystem",
|
|
"Win32_System_Diagnostics_Debug",
|
|
"Win32_System_IO",
|
|
"Win32_System_LibraryLoader",
|
|
"Win32_System_Memory",
|
|
"Win32_System_Power",
|
|
"Win32_System_ProcessStatus",
|
|
"Win32_System_Threading",
|
|
"Win32_UI_Input_KeyboardAndMouse",
|
|
"Win32_UI_Input_XboxController",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
] }
|
|
# Diagnostics only: recording our own audio (`modules::audio::capture`).
|
|
windows = { workspace = true, optional = true, features = [
|
|
"Win32_Media_Audio",
|
|
"Win32_System_Com",
|
|
"Win32_System_Com_StructuredStorage",
|
|
"Win32_System_Threading",
|
|
"Win32_System_Variant",
|
|
] }
|
|
# `#[implement]` names it.
|
|
windows-core = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
tempfile.workspace = true
|
|
|
|
[features]
|
|
# Debugging switches (scripted keys and the like).
|
|
diagnostics = ["victory-gpu/diagnostics", "victory-loader/diagnostics", "dep:windows", "dep:windows-core"]
|
|
|
|
[lints]
|
|
workspace = true
|