Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Latest commit

 

History

History
59 lines (53 loc) · 1.92 KB

README.md

File metadata and controls

59 lines (53 loc) · 1.92 KB

Important

The new Stream Deck SDK is now available, with new Stream Deck plugin samples.

This repository has been marked as deprecated, and will soon be deleted. If you have any questions, please contact us via [email protected], or join our Makertplace Makers Discord community.

A Sample Text Layout Stream Deck Plugin

This is a StreamDeck + sample plugin that demonstrates how to create a list of strings as a layout shown on Stream Deck's touch-panel and how to update those strings efficiently.

Screenshot

{
    "id": "com.elgato.sample-textlayout.action.layout",
    "items": [
        {
            "key": "customtext0",
            "type": "text",
            "font": { "size": 16, "weight": 500 },
            "rect": [8, 4, 192, 17],
            "alignment": "left",
            "z-order": 5
          },
          {
            "key": "customtext1",
            "type": "text",
            "rect": [8, 22, 192, 17],
            "font": { "size": 16, "weight": 500 },
            "alignment":"left"
          },
          {
            "key": "customtext2",
            "type": "text",
            "rect": [8, 40, 192, 17],
            "font": { "size": 16, "weight": 500 },
            "value": "Next line",
            "alignment":"left"
          },
          {
            "key": "customtext3",
            "type": "text",
            "rect": [8, 58, 192, 17],
            "font": { "size": 16, "weight": 500 },
            "value": "Next line2",
            "alignment":"left"
          },
          {
            "key": "customtext4",
            "type": "text",
            "rect": [8, 76, 192, 17],
            "font": { "size": 16, "weight": 500 },
            "value": "Next line 3",
            "alignment":"left"
          }
       
    ]
}