refactor(input): own pointer and callback lifetime
Move camera pointer, framebuffer resize, and retained/devtools input edges behind focused reversible owners. Preserve input priority while making shutdown deactivate callbacks before live-session retirement and retry physical detach without stranding transport teardown.
This commit is contained in:
parent
d09e246d3a
commit
8b8afeefa3
42 changed files with 4029 additions and 461 deletions
|
|
@ -22,7 +22,8 @@ public sealed class SettingsVMTests
|
|||
persisted ??= MakeMinimalBindings();
|
||||
var kb = new FakeKeyboardSource();
|
||||
var mouse = new FakeMouseSource();
|
||||
var dispatcher = new InputDispatcher(kb, mouse, persisted);
|
||||
var dispatcher = InputDispatcher.CreateDetached(kb, mouse, persisted);
|
||||
dispatcher.Attach();
|
||||
var savedHistory = new System.Collections.Generic.List<KeyBindings>();
|
||||
var savedDisplayHistory = new System.Collections.Generic.List<DisplaySettings>();
|
||||
var savedAudioHistory = new System.Collections.Generic.List<AudioSettings>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue