Improve native DualSense adaptive trigger effects #496

Open
github-bot wants to merge 2 commits from github-bot/gh-496 into main AGit
Owner

@⁠ForthtuN on GitHub · 2026-12-06 01:32 UTC · original
ForthtuN:feature/dualsense-adaptive-triggers → main · +802 −170 · 7 files · 2 commits · open

Summary

  • Improves the existing native DualSense trigger path; this is not a new controller backend.
  • Preserves independent left/right effects, adds the guarded R2 throttle notch for vehicles, and retries missed HID writes so resistance can still be released.
  • Ported from Darner v2026.12.04.01 (GPL-3.0-or-later); the source and documentation retain attribution and upstream history. No RCAS, HD haptics, or fork CI changes in this PR.

Validation

**@⁠ForthtuN** on GitHub · 2026-12-06 01:32 UTC · [original](https://github.com/gamingwithhomie/larp/pull/496) `ForthtuN:feature/dualsense-adaptive-triggers` → `main` · +802 −170 · 7 files · 2 commits · open ## Summary - Improves the existing native DualSense trigger path; this is not a new controller backend. - Preserves independent left/right effects, adds the guarded R2 throttle notch for vehicles, and retries missed HID writes so resistance can still be released. - Ported from Darner v2026.12.04.01 (GPL-3.0-or-later); the source and documentation retain attribution and upstream history. No RCAS, HD haptics, or fork CI changes in this PR. ## Validation - The author confirmed adaptive triggers worked in-game in the combined CNF 1.1.6 fork build. [Windows Release and regression tests passed on that build](https://github.com/ForthtuN/larp/actions/runs/47591269250). - This isolated PR was checked against current main; the linked CI run is for the combined fork, not this exact PR head.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-06 01:46:01 +00:00
Author
Owner

@⁠vanya890 on GitHub · 2026-12-06 01:39 UTC · original

The trigger changes include a new title-hook installation signature (image.info().size_of_image plus an exact build fingerprint) and alter failed-write recovery. The PR notes that the linked Windows CI run is for the combined fork build, not this isolated head. Before merge, could you attach a Windows Release/test run for this exact PR head and include a negative test showing an unknown title fingerprint or undersized image does not install the hook? That is the most safety-critical new boundary in this change.

**@⁠vanya890** on GitHub · 2026-12-06 01:39 UTC · [original](https://github.com/gamingwithhomie/larp/pull/496#issuecomment-7449342568) The trigger changes include a new title-hook installation signature (`image.info().size_of_image` plus an exact build fingerprint) and alter failed-write recovery. The PR notes that the linked Windows CI run is for the combined fork build, not this isolated head. Before merge, could you attach a Windows Release/test run for this exact PR head and include a negative test showing an unknown title fingerprint or undersized image does not install the hook? That is the most safety-critical new boundary in this change.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/496/head:github-bot/gh-496'
git switch 'github-bot/gh-496'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-496'
git switch 'github-bot/gh-496'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-496'
git switch 'github-bot/gh-496'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-496'
git switch 'main'
git merge --squash 'github-bot/gh-496'
git switch 'main'
git merge --ff-only 'github-bot/gh-496'
git switch 'main'
git merge 'github-bot/gh-496'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.