Skip to content

Commit 31af32b

Browse files
committed
refactor: Optimize ControllerFactory and fix spacebar toggle
Overhauled ControllerFactory and input logic: - Implement Lazy loading for most controllers; InputController is now immediate. - Improve Dispose logic: split methods, better resource/exception handling, simplified methods. - Adapt properties and add access checks for lazy controllers; add placeholder initialization method. - Fix spacebar toggle: Add window KeyDown handler for direct processing. - Improve ToggleCaptureAsync logic for lazy AudioController interaction. - Enhance resource cleanup: event unsubscription, async InputController disposal.
1 parent 0464cd0 commit 31af32b

File tree

1 file changed

+473
-317
lines changed

1 file changed

+473
-317
lines changed

0 commit comments

Comments
 (0)