WIP: Draw mouse button and wheel icons in keyboard prompts #472
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner!472
Loading…
Reference in a new issue
No description provided.
Delete branch "FORLE/Darner:contrib/darner-mouse-button-prompts"
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?
Not yet tested in game; opening as a draft for a visual check.
Contributor role (optional)
What it changes
How it was tested
d734197, based ond91d8e4.cargo test -p darner-game --locked prompts::: 62 passed. The builtdarner-hletest binary passed all 7modules::gameinput::mnk::tests::cases.cargo xtask policy --staged: four files passed.cargo test --workspace --lockedfailed on two GPU tests: the DXC HLSL test also fails on cleand91d8e4(0x80004005); the reservation-splitting watch test passed when rerun alone on both revisions.Checklist
main.docs/asset-policy.md.Checked for overlap
I rasterized the five mouse prompts from the vectors generated by
d7341970e8a92e26b169115c257305c18c3c876f, using the project's synthetic prompt movie. I checked 12, 16, 20, 24 and 32 px cells.Left and Right are mirror images, and Middle has a distinct wheel mark. All five icons remained distinct at every size in both the coverage raster and Windows GDI+. Wheel Up and Wheel Down are hardest to read at 12 px: the triangle is 3.54 px wide and 2.25 px high. Only two pixels differ by at least 64 gray levels at integer alignment, compared with 16 pixels at 24 px. Both directions are much easier to recognize at 24 and 32 px.
In the synthetic movie, moving a binding to a different control moved the corresponding pictogram with it. Putting E first kept the E cap. Mouse4 and Mouse5 still rendered as M4 and M5 text caps.
These are offscreen results. The in-game HUD scale, compositing and live wheel input still need checking.
WIP: [pr-feature][input] Draw mouse button and wheel icons in keyboard promptsto WIP: Draw mouse button and wheel icons in keyboard promptsView 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.