initial commit

This commit is contained in:
Zack Hoherchak 2022-02-15 14:36:50 -05:00
commit 0a4fe9ee9c
29 changed files with 2686 additions and 2 deletions

View file

@ -1,2 +1,47 @@
# streamdeck-plugin-template
A starting place for a new JavaScript Stream Deck plugin.
# Stream Deck Plugin Template
The `Stream Deck Plugin Template` is a template to let you get started quickly when writing a JavaScript plugin for [Stream Deck](https://developer.elgato.com/documentation/stream-deck/). `Stream Deck Plugin Template` requires Stream Deck 5.0 or later.
## Description
`Stream Deck Plugin Template` is a complete plugin that shows you how to
- load and save settings using Stream Deck's persistent store
- setup and communicate with the Property Inspector
- pass messages directly from Property Inspector to the plugin (and vice versa)
- localize your Property Inspector's UI to another language
## Features
- code written in Javascript
- cross-platform (macOS, Windows)
- localization support
- styled [Property Inspector](https://developer.elgato.com/documentation/stream-deck/sdk/property-inspector/) included
- Property Inspector contains all required boilerplate code to let you instantly work on your plugin's code.
## Quick Start Guide
A short guide to help you getting started quickly.
### Clone the repo
```git clone https://github.com/elgatosf/streamdeck-plugin-template```
### Replace Name
`com.elgato.template` with `my.domain.plugin`
### Start Coding
You can get starting in app.js!
```javascript
streamDeck.onConnected(({actionInfo, appInfo, connection, messageType, port, uuid}) => {
const myAction = new Action('my.domain.plugin.action');
myAction.onKeyUp(({action, context, device, event, payload}) => {
console.log('Your code goes here!');
});
});
```