feat(headless): complete deterministic bot command parity

This commit is contained in:
Erik 2026-07-27 08:23:36 +02:00
parent 7e8acb74dd
commit 38e83640d9
37 changed files with 2805 additions and 295 deletions

View file

@ -3,8 +3,8 @@ using AcDream.UI.Abstractions.Input;
namespace AcDream.App.Input;
internal interface IMovementInputSource
: IRuntimeMovementInputSource
{
MovementInput Capture();
}
/// <summary>
@ -53,6 +53,9 @@ internal sealed class DispatcherMovementInputSource : IMovementInputSource
if (_capture?.DevToolsWantCaptureKeyboard == true)
return default;
if (_movement.HasCommandInput)
return _movement.CommandInput;
if (_dispatcher is not { } dispatcher)
return default;