fix(input): a trigger presses only once it has read let go for a second #2337
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!2337
Loading…
Reference in a new issue
No description provided.
Delete branch "llun/Longshot:fix/trigger-rest"
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?
Summary
A player's triggers acted as held from the moment the game started, whichever controller they used (a Switch 2 Pro
through Switch2Connect, a Flydigi Vader 2 Pro, an 8BitDo SN30 Pro Xbox Edition, a Mobapad Chitu 2). On the Controls
page, binding a button caught nothing. After trying, the triggers stopped acting held but no longer worked at all.
Starting the game through Steam made it go away.
Their log had two SDL controllers open for the whole run: Switch2Connect's virtual
"DualSense Wireless Controller"(054c:0ce6, version 0) and a
"Retro Controller", USB 2563:0575 (a ShanWan generic pad, often a 2.4 GHz USBreceiver). A trigger that reads held for good on either one explains every symptom.
host/pad_sdl.cpresses ZL and ZRpast 8000, and every pad's buttons are combined, so that hold came through whatever pad the player used. The receiver,
whose full-range trigger axes at rest would read about 16384, was the likely one, but the log could not say which. The
other symptoms follow from it:
(
gpu/vk/vk_menu.cpp,listen_armed), and these two never are.reaches the game (
host/nn_hid.c,pad_after_menu). These never are, so the player's real presses, on the same bits,are held back for the rest of the run.
The sticks already had this guard ("an axis steers only once it has been seen at rest since the pad was opened",
#1673). The triggers didn't. Now each trigger presses only once it has read let go (8000 or below) for a second
without a break since its pad was opened (
trigger_pull), a bit each beside the sticks' inpads[i].rested. A realtrigger rests when its pad opens, so it counts a second later. A pull in that second waits for a second let go. HD
Haptics' trigger effects (
rh_ds_triggers) read the same admitted value, so a stuck trigger doesn't kick back either.Why a second, not one reading. The first version counted a trigger once it had read let go once. The reporter ran
that build (
pr-2337-222babe6): their triggers still misbehaved with the receiver plugged in, and worked with itunplugged. So the receiver's triggers read let go at least once after it opens: as it opens, before its first report,
or for a moment now and then. One let-go reading let them through. A second without a break doesn't, and a real
trigger at rest gives that within a second. The reporter's log on a logging-only build of this PR
(
pr-2337-e22bbdb5) confirms it: the receiver's triggers read0 of 32767 (let go), 0.000 s after it was opened,then
16447 of 32767 (held), 0.042 s after it was opened, and nothing else for the rest of the run. The log lines:hid: "<pad>": its left trigger reads 16384 of 32767 and has not read let go for a second since it was opened, so it does not count until it does: not counting 3 s after the pad opened;... its left trigger has read let go for a second (0 of 32767): it counts from now: counting after that;... its left trigger has read held (16384 of 32767) for 30 s without a break: held 30 s once it counts (a long pull,or a device let go for a while and then held, which the rule lets through);
since the pad opened: how a device's trigger reads as it opens.
The reporter's next run of this head says whether the rule holds the receiver off.
To see it on main: with any device whose trigger axes rest above 8000 (the receiver above), ZL and ZR are held at
the title screen, and Controls, then a binding, catches no press.
Read first:
host/pad_sdl.c(trigger_pull, and its call inpads_poll), thentests/test_trigger_rest.py.Fixes #2327
Testing
Tested: Windows 11, RTX 5080, NVIDIA 621.24. This branch built as a pack over the shared base (
dev.py pack,dev.py rt):longshot.exebuilds with llvm-mingw. Started headless through the queue (longshot_ctl.py launch --profile test) to the intro:hid: SDL controller support ready, no errors, 600 frames presented, thenquitwithstop: close work doneand exit code 0. This PC has no controller connected, so no trigger was pulled in the game. Thebridge's presses come in after SDL, so they can't stand in for one. That press is under Still to test. The heads with
the log lines (
1fcdf35c4) and the one-second rule (8b23a77a2) were built and started the same way: nohid:trigger line (no pad), exit code 0. This head (
dba818940) is8b23a77a2's code again, plus a test case for thelog's pattern. It was pushed straight to the reporter, as the person I work for asked, and not built or run here.
The reporter (Windows, Switch2Connect's virtual DualSense and the ShanWan receiver) ran
pr-2337-222babe6, theone-reading rule: it still didn't work with the receiver plugged in. With it unplugged it worked (tested before). Their
log names both pads and nothing more of their triggers.
Checks:
tests/test_trigger_rest.py: fails on main (FAIL: poll(16384, 16384) == 0), passes here with gcc and clang(llvm-mingw). It polls the real
trigger_pullevery 4 ms. Besides a trigger held from the start, it covers thereceiver's likely patterns: let go for a moment as it opens, or every 2 s, and half a second once. It also checks
each log line's words, its timing and that it comes once, and the debug lines' cap. With the second's wait set to 0
(the one-reading rule the reporter ran), it fails on "let go as it opens, then held". With the "once" guard, the 3 s
wait or the debug cap removed, it fails.
host/pad_sdl.cpass: test_stick_rest, test_stick_inversion_rest,test_stick_dead_zone, test_gyro_rearm, test_hd_rumble, test_pad_speaker, test_rumble_mapping, test_rumble_refresh,
test_sdl_pad_diagnostics, test_steam_pads, test_touchpad_menu, test_vibration_pick, test_prompt_auto_face.
test_touchpad_menu.pycut its block up to the old trigger line; it now ends at the new block's comment and checksthe same lines.
host/pad_sdl.cwhole: built for Windows in the pack (llvm-mingw). For Linux,gcc 13 -fsyntax-only -Wall -Wextra(the posix
windows.hand the base's generated headers), no warnings, as on main. Not a full Linux build.tests/run_all.py --stricton this PC (Windows): 802 passed, 106 failed, 50 skipped. Main @0e32bc10on the samePC: 801 passed, the same 106 failed (list below). The extra pass is the new check.
test_pads_after_menu.pyis oneof them: an unused variable in
nn_hid.c's cut, on main too.The 106 failures, the same on main
test_antilag, test_astc_decoder_gpu, test_async_safe_frees, test_auto_handheld, test_bc_copy_layer_pitch,
test_build_long_paths, test_builtin_compute_unoptimized, test_capture_dimensions, test_capture_readback_visibility,
test_capture_resources, test_coopmat_probe_failures, test_crash_dialog, test_desc_counts, test_dev_build,
test_dev_migrate, test_dev_packs, test_device_policy, test_discover, test_draw_binds, test_draw_stream_visibility,
test_dummy_views, test_dump_readback, test_fallback_pipeline_state, test_float_add_subgroup,
test_framegen_resources, test_framelog_sink, test_fsr3_release_frees, test_fsr3fi_hud_layer, test_fsr3fi_hud_mask,
test_fsr3fi_hudless_colour, test_fsr4_bind_dispatch, test_fsr_image_retirement, test_fsr_uniform_ownership,
test_game_menu_mouse_buttons, test_image_view_retry, test_import_buffer_binding, test_import_log, test_import_reach,
test_inline_write_order, test_input_movie, test_insn_fixed_convert, test_lift_lookups, test_linux_preflight,
test_long_paths, test_lost_wait_said, test_low_vram_texture_mips, test_make_game_cache,
test_mesh_fallback_strict_fmul, test_native_zstd, test_pads_after_menu, test_pass_barrier, test_pass_hazard,
test_pcache_header_read, test_perf_report, test_pipeline_key_values, test_pipeline_state_computes,
test_pipeline_state_portable, test_pipeline_states, test_present_queue_default, test_present_source_crop,
test_program_answer_domains, test_prompt_guide_lines, test_prompt_hand_guides, test_prompt_picture_tint,
test_prompt_speed, test_push_state, test_recorder_own_idle, test_recorder_parts, test_recorder_sync,
test_recording_admission, test_replay_write_order, test_reshade_fx, test_same_draw, test_same_dyn,
test_sampler_admission, test_saveload_warm_cache, test_sdiv_overflow, test_sparse_bind_failure,
test_sparse_bind_ranges, test_split_ub_flush, test_staging_burst, test_taau_typed_dispatch, test_table_track,
test_target_reuse_memory, test_texel_buffer_ownership, test_texture_staging_publication, test_ub_snapshot_default,
test_ub_update_batch, test_ui_record, test_ui_texture_upload, test_vendor_fixes, test_vertex_bind,
test_vertex_bind_range, test_vk_occlusion_queries, test_vulkan_clear_mip, test_vulkan_copy_span,
test_vulkan_copy_span_gpu_compile, test_walk, test_wb_diff_observations_gpu, test_widen_alpha (some count more than
once in the runner's total)
Still to test:
in play, and bind ZR to a trigger on the Controls page, expecting each pull to count from the first (a second after
the pad connects) and the binding to take it; then switch a Bluetooth pad off and on, expecting its triggers back
a second after it reconnects (by hand).
kick back as on main (by hand).
held triggers at the title screen, a binding that takes a press, and their own triggers working after the Insert
menu closes. Either way, its log's
hid: "...": its ... triggerlines (and the debug ones) show the receiver'sreadings (by hand, the reporter).
Measurements
Verdict: fixed in the check: a trigger read as held, from the start or after a let-go moment, no longer presses,
and a real one does from its first pull a second after its pad connects. Unproven on the reporter's receiver until
their next run. Nothing to measure for speed: a few comparisons more per pad every 4 ms.
Setup:
tests/test_trigger_rest.pyon Windows 11 (llvm-mingw's gcc and clang); the boot on an RTX 5080, NVIDIA 621.24,headless through the queue.
0e32bc10dba818940tests/test_trigger_rest.py: a trigger at 16384 from the startRisks
one held as the pad connects, counts once the trigger has been let go for a second. The sticks have a similar rule,
as does every input after the Insert menu closes.
30 s log line and the debug lines would show it.
use either.
longshot_options.inior the caches.Checklist
Ready for review
main; the title is a Conventional Commit.controller here, so the trigger pull is in Still to test.)
mise run testpasses (any failure that also fails onmainis named). (Not run on this head; on1fcdf35c4: 802 passed,the same 106 failures as main, named under Testing.)
main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
mainand passes here.tests/that reads changed source is updated, not weakened.checked by
gcc 13 -fsyntax-only -Wall -Wextra, no warnings; no full Linux build yet. No path handling changed.)Assisted-by:/Co-Authored-By:trailers.Ready to merge
main, measured again or a comment says why the numbers still hold.🤖 Generated with Claude Code
Tested in game: Windows 11, RTX 5080, NVIDIA 621.24: this branch as a pack over the shared base, started headless through the queue to the intro (SDL controller support ready, no errors, 600 frames), then quit with close work done and exit 0. No controller on this PC, so no trigger was pulled in the game: that is in Still to test.
@review
Recommendation: Request changes. The trigger guard addresses the reported stuck input in the source-level test, but it has not been exercised with a controller in the game. The new test also bypasses the runner’s selected C compiler. (It stands on L3: The check
Guide screenshots / Guide images and local UI source review (pull_request)fails on this head and passes on the base branch: Failing after 11s.)The change waits for each SDL trigger to be released before accepting presses, preventing a permanently held axis on one device from blocking input from other pads. It also applies the guard to DualSense trigger effects; the cost is that a trigger held when its pad opens must first be released.
Blocking (1): must change before merging.
Guide screenshots / Guide images and local UI source review (pull_request)fails on this head and passes on the base branch: Failing after 11s.Should fix (1): not blocking, but worth doing before merging.
tests/test_trigger_rest.py:28: The test hard-codes gcc instead of using the C compiler selected by the runner. (more on the line) Do: Declare ["--cc", "{cc}"] and accept the runner’s compiler command, including any arguments, when invoking it.Testing before merging (1) (the change behaves the same on every system: one run of the change itself is enough; it doesn't hold the recommendation)
host/pad_sdl.c:604: The changed input and haptics path has not been exercised with a controller in the game. (more on the line) Do: Run the stated controller checks in game, including first pulls, binding and DualSense haptics, and exercise the reporter’s receiver alongside a working pad if available.@fixcan do L1 and L3.Checks: Still running:
CI / Website build and checks (pull_request).More: does it help, other systems, switches, what was read
Does it help: Unproven in game. The reported source-level check changes the 16384-at-start case from FAIL on base
0e32bc10to PASS on head1c634ff5, and the author reports that undoing the admission line makes it fail again. No controller was connected for the headless game run.Other systems: The guard applies to SDL controllers on Windows and Linux, including Steam Input stand-ins and the Steam Deck when SDL supplies their input. It also changes DualSense HD Haptics trigger depths. XInput-only input is unchanged; no physical-controller run is reported for either platform.
Switches: None added, changed or removed.
Reviewed:
1c634ff515against0e32bc100d: Read AGENTS.md, CONTRIBUTING.md, the pull request template, commit messages, the changed tests and input reference, and the relevant pad polling, opening, haptics and test-runner code. Skimmed standards and the remaining unchanged portions of the larger source files. docs/review-checklist.md and ../Tooling/AGENTS.md were absent. Read the supplied description, comments and CI results; no generated files or recorded runs were changed.; nothing run (a code review).Checked and fine:
Testing: Read-only review; no commands from the project, builds or tests were run. The supplied CI reports one head-only failure, which the review bot handles separately, and a website check still running.
Overlaps and merge order: Not checked; the network is closed.
Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.
@ -596,0 +601,4 @@int pull[2]; /* (each trigger's axis, 0 until it has been seen let go: HD Haptics' triggers below too) */for (int t = 0; t < 2; t++) {const int a = hos_sdl_pad_axis(gc, AX_LT + t);if (a <= 8000) pads[i].rested |= 1u << (AX_LT + t);L2 (should fix): The changed input and haptics path has not been exercised with a controller in the game.
When: The reported run had no controller, so it does not show that a normal first trigger pull reaches gameplay and binding, or that DualSense trigger effects still respond.
Do: Run the stated controller checks in game, including first pulls, binding and DualSense haptics, and exercise the reporter’s receiver alongside a working pad if available.
@ -0,0 +25,4 @@sys.path.insert(0, str(Path(__file__).resolve().parent)) # (python -I leaves the check's own folder off the path)from srccut import between # noqa: E402RUN_ALL_ARGS = ["--cc", "gcc"]L1 (should fix): The test hard-codes gcc instead of using the C compiler selected by the runner.
When: On a supported system with Clang available but no gcc, run_all skips this check, or fails it in strict mode, even when CC selects Clang. It also ignores CC on systems with both compilers.
Do: Declare ["--cc", "{cc}"] and accept the runner’s compiler command, including any arguments, when invoking it.
@fix
Recommendation: Approve. The code is ready: only testing is left (a run of the change itself). The trigger guard addresses the reported stuck-axis case in the game-free check, but its input and haptics behavior still needs a physical controller run. Recommend approval; not approved on the forge.
What
@fixchangedI changed this pull request: the new head is
222babe610. I edited its description to match the change.Changed
Nothing was built or run: the checks run again on the new head.
Suppresses SDL trigger axes until each has been seen released, preventing a stuck receiver from holding both triggers across controllers. It also gates DualSense trigger effects; a trigger held when the pad opens must first be released.
Testing before merging (1) (the change behaves the same on every system: one run of the change itself is enough; it doesn't hold the recommendation)
host/pad_sdl.c:604: The changed input and haptics path has not been exercised with a controller in the game. When: The reported run had no controller, so it does not show that a normal first trigger pull reaches gameplay and binding, or that DualSense trigger effects still respond. Do: Run the stated controller checks in game, including first pulls, binding and DualSense haptics, and exercise the reporter’s receiver alongside a working pad if available.Checks: they run again on this head (
Guide screenshots / Guide images and local UI source review (pull_request)failed on the last one); a failure shows on the pull request.Also noticed (2; not asked for, not blocking)
More: does it help, other systems, switches, what was read
Does it help: Unproven in the game. The reported fixture fails on main for axes at 16384 and passes with the fix, including a normal first pull, but no physical trigger was exercised.
Other systems: The guard applies to SDL controllers on Windows and Linux and to DualSense HD trigger effects. XInput is unchanged. The reported headless Windows boot did not exercise a controller; Linux received a syntax check but not a full build or game run.
Switches: None added, changed, or removed.
Reviewed:
222babe610against0e32bc100d: Read the repository rules, PR template, standards, trigger test, compiler parser, input reference, source-review note, and the relevant diffs and controller paths. Skimmed the guide manifest and recorded test results; the full controller source and touchpad test were not read in full.; nothing run (a code review).Checked and fine:
Testing: No commands that build or run the project were executed. The reported fixture passes with GCC and clang and fails on main; CI has not yet run on the current head.
Overlaps and merge order: Not checked; network access is closed.
Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its fix. Nothing was run; a maintainer decides.
@Beanstalk
Beanstalk test farm
Commit
76f7b61· approved by nobody yet · dashboardA member of
BigBeanscan review this commit and comment@Beanstalkto test it.Pushed
1fcdf35c4on top of BeanBot's222babe61: the log now names a pad whose trigger reads held.pr-2337-222babe6and said it still didn't work. Their log had the same two SDL pads as before,Switch2Connect's virtual DualSense (054c:0ce6) and the ShanWan receiver (2563:0575), and nothing in it said which
one's trigger read held. It could be the virtual DualSense, whose triggers would then never count, or a trigger that
read let go as its pad opened and held afterwards, which the rest rule lets through.
trigger_saylogs once per pad and trigger: still held 3 s after the pad opened, let go after that, and held 30 swithout a break once it counts, each with the pad's name and the reading.
tests/test_trigger_rest.pypolls itevery 4 ms and checks each line, its timing and that it comes once.
run_all.py --strictgives 802 passed and the same 106 failures asmain; Linux
gcc -fsyntax-onlyis clean; a headless boot of this head exited with code 0.fix(input): a trigger presses only once it has been seen let goto WIP: fix(input): a trigger presses only once it has been seen let goWIP: fix(input): a trigger presses only once it has been seen let goto WIP: feat(input): the log names a pad whose trigger reads held, and howPushed
e22bbdb57: this PR is now only the logging, as asked. The trigger rule is gone: triggers press past 8000 from the first reading, as on main. The reporter's triggers worked with the ShanWan receiver unplugged and still didn't with it plugged in on pr-2337-222babe6, so this build's log should name the pad and how its trigger reads. Not built or run here; the PR build goes to the reporter.WIP: feat(input): the log names a pad whose trigger reads held, and howto feat(input): the log names a pad whose trigger reads held, and howDO NOT MERGE, TESTING ONLY RN.
feat(input): the log names a pad whose trigger reads held, and howto fix(input): a trigger presses only once it has read let go for a secondPushed
dba818940: the one-second rule is back (8b23a77a2's code, its log lines and test), beside the logging. The reporter's log on the logging-only build (pr-2337-e22bbdb5) showed the receiver's triggers read 0 for their first 42 ms, then 16447 for the rest of the run, which is the pattern that rule holds off and the one-reading rule let through. The test now checks that exact pattern. Not built or run here; the PR build goes to the reporter.@review
Recommendation: Request changes. The one-second rule covers the receiver pattern in the reported test, but physical trigger input and DualSense trigger haptics have not been exercised in game. The reporter has not yet tested this rule with the affected receiver. (It stands on L4: The check
PR description / Description follows the template (pull_request_target)fails on this head and passes on the base branch: Failing after 6s.)The change suppresses trigger readings until each trigger has stayed released for one second, preventing a persistently held receiver from blocking other controllers. It also delays trigger use after connection and adds diagnostic logging.
Blocking (1): must change before merging.
PR description / Description follows the template (pull_request_target)fails on this head and passes on the base branch: Failing after 6s.Testing before merging (1) (the change behaves the same on every system: one run of the change itself is enough; it doesn't hold the recommendation)
host/pad_sdl.c:604: The changed input and haptics path has not been exercised with a controller in the game. When: The reported run had no controller, so it does not show that a normal first trigger pull reaches gameplay and binding, or that DualSense trigger effects still respond. Do: Run the stated controller checks in game, including first pulls, binding and DualSense haptics, and exercise the reporter’s receiver alongside a working pad if available.@fixcan do L4.Since the last review (on
222babe610)Resolved: L3 (The check
Guide screenshots / Guide images and local UI source review (pull_request)fai…)Still open: L2 (The changed input and haptics path has not been exercised with a controller in the game.)
New: L4 (The check
PR description / Description follows the template (pull_request_target)fails…)Checks: Still running:
CI / Website build and checks (pull_request).Also noticed (2; not asked for, not blocking)
More: does it help, other systems, switches, what was read
Does it help: Unproven in game. The reported game-free test covers the receiver's 42 ms released-then-held pattern and passes with the rule; the reporter's physical test used the earlier one-reading rule, which did not fix the problem.
Other systems: The SDL path affects Windows and Linux controllers, reconnections, bindings and DualSense trigger haptics. Windows built and booted without a controller; Linux received a syntax check only, and neither platform has a reported physical-controller run of this rule.
Switches: None.
Reviewed:
dba818940cagainst0e32bc100d: Read AGENTS.md, CONTRIBUTING.md, the pull request template, the trigger implementation and its call sites, and the reported testing and comments. Inspected the changed tests and input documentation; skimmed the guide manifest and source review. The full pad source and combined test output were truncated, so not all changed code was read in full.; nothing run (a code review).Checked and fine:
Testing: No commands from the project were run. The author reports a game-free trigger test and a Windows headless boot without a controller; the physical controller and haptics runs remain outstanding.
Overlaps and merge order: none found
Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.
@fix
I didn't change this pull request: what is left needs the author.
Left for the author
mise run teston this head and build the host code on Windows with llvm-mingw and Linux, including UTF-8 paths. Record the results and update the applicable checklist boxes in the PR description; the reported runs do not establish both requirements for this head.For the author (no edit does these)
host/pad_sdl.c:604: The changed input and haptics path has not been exercised with a controller in the game. When: The reported run had no controller, so it does not show that a normal first trigger pull reaches gameplay and binding, or that DualSense trigger effects still respond. Do: Run the stated controller checks in game, including first pulls, binding and DualSense haptics, and exercise the reporter’s receiver alongside a working pad if available.PR description / Description follows the template (pull_request_target)fails on this head and passes on the base branch: Failing after 6s.Nothing was pushed.
Automated fix by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.
@fix
dba818940c76f7b61625Recommendation: Approve. The one-second rule addresses the receiver pattern in the reported log, but physical trigger input and DualSense trigger haptics have not been exercised in game with this rule. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge.
What
@fixchangedI changed this pull request: the new head is
76f7b61625. I rebased it ontomain(897d6d3fe7).Nothing was built or run: the checks run again on the new head.
The change suppresses each trigger until it has read released for one continuous second, preventing a persistently held receiver axis from blocking controls. It also delays a newly connected controller’s triggers by at least one second.
Testing before merging (1) (the change behaves the same on every system: one run of the change itself is enough; it doesn't hold the recommendation)
host/pad_sdl.c:604: The changed input and haptics path has not been exercised with a controller in the game. When: The reported run had no controller, so it does not show that a normal first trigger pull reaches gameplay and binding, or that DualSense trigger effects still respond. Do: Run the stated controller checks in game, including first pulls, binding and DualSense haptics, and exercise the reporter’s receiver alongside a working pad if available.Checks: they run again on this head (
PR description / Description follows the template (pull_request_target)failed on the last one); a failure shows on the pull request.More: does it help, other systems, switches, what was read
Does it help: Unproven in game. The reported fixture passes the receiver’s 42 ms released-then-held pattern and fails on main; the reporter has not yet run this rule with the receiver.
Other systems: The rule applies independently to both SDL triggers on Windows and Linux and feeds the admitted values to DualSense HD haptics. Controller input, reconnects and haptics remain untested in game; Linux has only a reported syntax check.
Switches: None.
Reviewed:
76f7b61625against897d6d3fe7: Read the repository rules and pull request template, the trigger and haptics changes, the trigger test and the reported runs. Skimmed the remaining documentation and generated guide changes; did not read every changed file in full.; nothing run (a code review).Checked and fine:
Testing: The reported fixture and headless boot did not exercise a physical controller. Run the current rule in game with trigger presses and binding, reconnect a controller, and check DualSense HD trigger haptics; the reporter’s receiver run would also confirm the reported setup.
Overlaps and merge order: Not checked.
Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its fix. Nothing was run; a maintainer decides.
Jer9 referenced this pull request2026-11-23 16:17:47 +00:00