-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com.elgato.template.sdPlugin/actions/template/property-inspector/inspector.js b/src/com.elgato.template.sdPlugin/actions/template/property-inspector/inspector.js
deleted file mode 100644
index 214fe49..0000000
--- a/src/com.elgato.template.sdPlugin/actions/template/property-inspector/inspector.js
+++ /dev/null
@@ -1,96 +0,0 @@
-///
-///
-
-$PI.onConnected((jsn) => {
- const form = document.querySelector('#property-inspector');
- const {actionInfo, appInfo, connection, messageType, port, uuid} = jsn;
- const {payload, context} = actionInfo;
- const {settings} = payload;
-
- Utils.setFormValue(settings, form);
-
- form.addEventListener(
- 'input',
- Utils.debounce(150, () => {
- const value = Utils.getFormValue(form);
- $PI.setSettings(value);
- })
- );
-});
-
-$PI.onDidReceiveGlobalSettings(({payload}) => {
- console.log('onDidReceiveGlobalSettings', payload);
-})
-
-/**
- * Provide window level functions to use in the external window
- * (this can be removed if the external window is not used)
- */
-window.sendToInspector = (data) => {
- console.log(data);
-};
-
-document.querySelector('#open-external').addEventListener('click', () => {
- window.open('../../../external.html');
-});
-
-
-/**
- * TABS
- * ----
- *
- * This will make the tabs interactive:
- * - clicking on a tab will make it active
- * - clicking on a tab will show the corresponding content
- * - clicking on a tab will hide the content of all other tabs
- * - a tab must have the class "tab"
- * - a tab must have a data-target attribute that points to the id of the content
- * - the content must have the class "tab-content"
- * - the content must have an id that matches the data-target attribute of the tab
- *
- *
Inputs
- *
Text
- * a complete tab-example can be found in the index.html
-
-
-
-
Inputs
-
Text
-
-
-
- * You can use the code below to activate the tabs (`activateTabs` and `clickTab` are required)
- */
-
-function activateTabs(activeTab) {
- const allTabs = Array.from(document.querySelectorAll('.tab'));
- let activeTabEl = null;
- allTabs.forEach((el, i) => {
- el.onclick = () => clickTab(el);
- if(el.dataset?.target === activeTab) {
- activeTabEl = el;
- }
- });
- if(activeTabEl) {
- clickTab(activeTabEl);
- } else if(allTabs.length) {
- clickTab(allTabs[0]);
- }
-}
-
-function clickTab(clickedTab) {
- const allTabs = Array.from(document.querySelectorAll('.tab'));
- allTabs.forEach((el, i) => el.classList.remove('selected'));
- clickedTab.classList.add('selected');
- activeTab = clickedTab.dataset?.target;
- allTabs.forEach((el, i) => {
- if(el.dataset.target) {
- const t = document.querySelector(el.dataset.target);
- if(t) {
- t.style.display = el == clickedTab ? 'block' : 'none';
- }
- }
- });
-}
-
-activateTabs();
diff --git a/src/com.elgato.template.sdPlugin/app.html b/src/com.elgato.template.sdPlugin/app.html
deleted file mode 100644
index 4c51a9f..0000000
--- a/src/com.elgato.template.sdPlugin/app.html
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-
-
- com.elgato.template
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com.elgato.template.sdPlugin/app.js b/src/com.elgato.template.sdPlugin/app.js
deleted file mode 100644
index e39743c..0000000
--- a/src/com.elgato.template.sdPlugin/app.js
+++ /dev/null
@@ -1,19 +0,0 @@
-///
-///
-
-const myAction = new Action('com.elgato.template.action');
-
-/**
- * The first event fired when Stream Deck starts
- */
-$SD.onConnected(({ actionInfo, appInfo, connection, messageType, port, uuid }) => {
- console.log('Stream Deck connected!');
-});
-
-myAction.onKeyUp(({ action, context, device, event, payload }) => {
- console.log('Your key code goes here!');
-});
-
-myAction.onDialRotate(({ action, context, device, event, payload }) => {
- console.log('Your dial code goes here!');
-});
diff --git a/src/com.elgato.template.sdPlugin/de.json b/src/com.elgato.template.sdPlugin/de.json
deleted file mode 100644
index 67059df..0000000
--- a/src/com.elgato.template.sdPlugin/de.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "Description": "Nimm diese Vorlage für dein erstes Plugin",
- "Name": "Stream Deck Template",
- "Category": "Templates",
- "com.elgato.template.action": {
- "Name": "Action",
- "Tooltip": "Dies ist die einzige 'Action' in diesem Template"
- },
- "Localization": {
- "More info": "Mehr Infos",
- "Message": "Nachricht",
- "Click Me": "Klicke mich",
- "Button": "Taste",
- "More": "Mehr",
- "My name": "Mein Name",
- "My title": "Mein Titel",
- "My message": "Meine Nachricht",
- "My button": "Meine Taste"
-
- }
-}
diff --git a/src/com.elgato.template.sdPlugin/en.json b/src/com.elgato.template.sdPlugin/en.json
deleted file mode 100644
index 7b43e58..0000000
--- a/src/com.elgato.template.sdPlugin/en.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "Description": "Use this to create your own plugin",
- "Name": "Stream Deck Template",
- "Category": "Templates",
- "com.elgato.template.action": {
- "Name": "Action",
- "Tooltip": "This is the only action in this plugin"
- },
- "Localization": {
- "More info": "More info",
- "Message": "Message",
- "Click Me": "Click Me",
- "Button": "Button",
- "More": "More",
- "My name": "My name",
- "My title": "My title",
- "My message": "My message",
- "My button": "My button"
- }
-}
diff --git a/src/com.elgato.template.sdPlugin/external.html b/src/com.elgato.template.sdPlugin/external.html
deleted file mode 100644
index 643dc1d..0000000
--- a/src/com.elgato.template.sdPlugin/external.html
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
-
- com.elgato.template.externalWindow
-
-
-
-
-
-
-
-
INFORMATION
-
-
- In your external window you can either place your own
- designs, or simply use the built-in sdpi.css to style your
- content.
-
-
-
-
-
-
- Clicking the button sends some information to your Property
- Inspector. Just open the remote-debugger for your Property
- Inspector and watch the console.
-