WIP: Mouse and keyboard: hold keys have the mouse place a stick or trigger that stays #429
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
hle
input
INTEL
lighting
linux-proton
memory
MULDER
needs-info
needs-logs
needs-rebase
NVIDIA
performance
post-merge
pr-diagnostics
pr-docs
pre-merge
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
relevance
high
relevance
low
relevance
medium
relevance
very-high
rendering
report
roadmap-proposal
saves
series-s
shaders
startup
status
blocked-by-rework
status
needs-test-report
status
needs-triage
status
ready-for-review
status
stale
status
superseded
status
wip
tools
ui
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner!429
Loading…
Reference in a new issue
No description provided.
Delete branch "EmberReD/Darner:feat/held-sticks-from-mouse"
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?
Contributor role (optional)
What it changes
What this does:
bindings.ini:HoldLeftStick,HoldRightStick,HoldLT,HoldRT(gameinput::Hold). While one is down, the mouse moves that stick anywhere in its circle, or pulls that trigger part way (moving the mouse up pulls it), and the control stays where it was left until the key is let go. With two down, the mouse moves the one pressed last and the other keeps its place. 400 mouse counts move a control from rest to the rim.DARNER_MNK=1) the counts go to the held control and not to the camera hook (HOLDING, read intake_mouse_delta_at). With the stand-in mouse, the title's mouse does not move and does not jump afterwards.Z,C,1and3in the shippedbindings.ini, laid out by place like its other letters (W, C, 1, 3 on AZERTY), so the left hand holds them in a controller's order. An existingbindings.iniwithout these lines gets the missing ones added at launch (play::new_holds). A line is left out if the file already sets that hold or uses its key for something else. Nothing else in the file is changed.How it was tested
ecd07d7, on mainc8258f9:684150ais #364's commit (e56ae682c6) rebased onto main without conflicts,ecd07d7is this change. The gates below ran onecd07d7. In the game: a build of7c418aa, the same change on mainf3840d7before the rebase.a_hold_key_has_the_mouse_place_a_control_that_stays(both mouse paths);the_default_bindings_are_never_written_over_a_file_that_is_therenow also covers adding the hold lines.ecd07d7(Windows 10 22H2): gate 1 and gate 2 clean. Gate 3 for the crates this changes: darner-hle 512 passed (15 ignored), darner 208 passed (1 ignored), darner-game 67 passed. darner-gpu only for the four F1 rows:cargo test -p darner-gpu --lib -- host::menu::passes 54 (2 ignored) withevery_view_fits_its_box_at_every_scaleandthe_link_is_always_right_under_the_noteskipped. Those two, and every darner-gpu test that makes a D3D12 host, stop the test process with code 3 here, on main too: "this PC's Direct3D 12 cannot run the translated shaders: they need Shader Model 6.6" (Windows 10's built-in D3D12 in a test process). The other crates were not run onecd07d7; on 7c418aa's base they passed except darner-shader's card and WARP cases, for the same reason.bindings.ini, were checked by the tests only (the test player's file already had them).Checklist
main. It is one change, but based on #364's branch, which it needs (draft until #364 is merged).docs/asset-policy.md.Checked for overlap
bindings.ini, also changesgameinput.rsandmnk.rs); #302, #185 (also changegameinput.rs, other parts).🤖 Generated with Claude Code
d3433b0472to7c418aa32b7c418aa32btoecd07d7107WIP: [pr-feature][input] Mouse and keyboard: hold keys have the mouse place a stick or trigger that staysto WIP: Mouse and keyboard: hold keys have the mouse place a stick or trigger that staysView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.