Repository navigation
Conversation
Artwork for every model lives in artwork/*.svg, traced from the device bezels in Elgato's streamdeck-kit-ipad simulator and registered to the panel by their key holes. Studio and Galleon K100 have no bezel to trace, so are drawn around the library's layout. tools/build-artwork.mjs compiles them into a gitignored json of data URIs, so they reach both the tsc output and the esbuild bundle. Each svg marks where the library's face sits with a <rect id="face">, which gives the padding around the controls. MODEL_ARTWORK must list every model, so a new one can't be missed; the modules share the artwork of the full surface with the same layout. The 15 key scissor module is also hidden from the model picker, like the other modules. yarn preview:artwork renders every model with its controls outlined over the artwork, for checking that they line up. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rface is A connected surface describes itself as eg "Elgato Stream Deck XL" while the model of it was declared as "Stream Deck XL", and a Corsair Galleon had no manufacturer at all. Which models are declared in place of an identical one is now one mapping, ready to also say which declared model a surface is. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.
Partner to bitfocus/companion#4469 and bitfocus/companion-surface-api#89