feat(input): assess world objects on right click

Port SmartBox's release-completed sr_Examine gesture through the configurable SelectRight binding. Cancel camera drags at the shared retail three-pixel threshold, then reuse the canonical picker, selection pulse, and appraisal request path without inventing another wire or UI owner.

Co-authored-by: Codex <codex@openai.com>
This commit is contained in:
Erik 2026-07-24 05:42:28 +02:00
parent 6718ee45a0
commit 5ad32d5753
16 changed files with 394 additions and 13 deletions

View file

@ -70,6 +70,21 @@ public sealed class GameplayInputActionRouterTests
harness.Targets.Calls);
}
[Fact]
public void Click_PassesGateToSelection()
{
var harness = new Harness("selection");
harness.Router.Attach();
harness.Actions.Raise(
InputAction.SelectRight,
ActivationType.Click);
Assert.Equal(
["pointer", "combat", "retained", "selection"],
harness.Targets.Calls);
}
[Fact]
public void Attach_SeedsAndTracksCombatScopes()
{