[RM2 2/3] Port demos to the shared runtime - #3
Open
jimmystridh wants to merge 4 commits into
Open
jimmystridh wants to merge 4 commits into
jimmystridh wants to merge 4 commits into
Conversation
Centralize signal-aware waits, evdev discovery, surface setup, CLI parsing, and pen configuration for device demos. Build the support code as a static archive and migrate the termination probe while keeping RM2 interactive demos gated until their portable conversion.
Move every demo onto the shared runtime and canonical surface APIs, discover live pen ranges, and gate color-only programs by capability. Add a format-safe map renderer with clipped backing-patch restoration and build the archived vanishing-trail example for both supported targets.
jimmystridh
marked this pull request as ready for review
August 20, 2026 00:04
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.
What changed
EVIOCGABS, and apply the panel profile's coordinate transformWhy
The original demos duplicate Paper Pro-specific input names, coordinate limits, signal handling, and RGB32 framebuffer assumptions. Centralizing those boundaries makes the examples usable across RM2 and Paper Pro without weakening the core ABI.
Impact
RM2 now builds the interactive demos, including
scribble,map_demo, andvanishing_trail. Color-only programs fail cleanly on monochrome panels. Input disconnection terminates the runtime instead of spinning.Validation
Series
This is 2 of 3 and depends on #2. GitHub requires the base branch to exist in this repository, so this draft targets
mainand temporarily includes the two core commits. The focused two-commit delta is jimmystridh/quill#2.