GameInput: read a DualSense and a DualShock 4's full reports over Bluetooth #2081
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!2081
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2081"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@sheazywi on GitHub · 2026-11-25 03:27 UTC · original
sheazywi:playstation-bluetooth-reports→main· +67 −22 · 2 files · 1 commits · draftA DualSense over Bluetooth was not read (
known()skipped it), and a DualShock 4's full Bluetooth report (0x11) was ignored. This reads them: the simple 0x01 report a DualSense sends over Bluetooth, its full 0x31 report, and the DualShock 4's 0x11. USB behaviour is unchanged.What is in it
crates/xcl/src/hle/playstation.rs:parsepicks the layout by pad and report id (sharedstatedecoder);known()no longer excludes a Bluetooth DualSense; new test that the Bluetooth reports read as the same gamepad state as USB, existing tests updated.README.md: DualSense over Bluetooth.Tested
cargo build --workspacethencargo test --workspace -- --test-threads=4: all passed, 0 failed (lib: 1099 passed, 26 ignored)shaders::tests::pso_measurement_compiles_an_exact_synthetic_record(needs Developer Mode),heap_window_out_of_memory_falls_back_to_the_switch_form(no heap windows)Regression run
Not tested
scripts/smoke.ps1onmainvs this head was not run; the change only touches how a PlayStation pad's HID reports are decoded.AI use
@DavidM1911 on GitHub · 2026-11-25 05:26 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.