Repository navigation
Add event manager and SDL3 event host - #31
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds classic and Carbon event models, queues, handler chains, input state, hot-key registration, and a host-driven event loop with timers and event retrieval. An optional SDL3 host translates basic US keyboard and mouse input and forwards other SDL events to the application.
The SDL host requires the SDL3 trait and PureSwift/SDL 3.3.0. Text input, broader keyboard layouts, system-wide hot-key registration, and integration with the shared Toolbox and dialog hosts remain to be implemented.
Validation: Xcode build succeeded; the default test run passed 626 tests with one SDL-only test not run. The SDL-enabled host test passed against the same revision now tagged 3.3.0. A subsequent run resolved 3.3.0 but stalled during dependency resolution.