Added category icon, renamed StreamDeck
This commit is contained in:
parent
af76f81b36
commit
995165d58b
6 changed files with 11 additions and 12 deletions
|
|
@ -1,8 +1,8 @@
|
|||
/// <reference path="../../../libs/js/stream-deck.js" />
|
||||
/// <reference path="../../../libs/js/utils.js" />
|
||||
|
||||
StreamDeck.onConnected((jsn) => {
|
||||
StreamDeck.loadLocalization('../../../');
|
||||
$SD.onConnected((jsn) => {
|
||||
$SD.loadLocalization('../../../');
|
||||
|
||||
const form = document.querySelector('#property-inspector');
|
||||
const { actionInfo, appInfo, connection, messageType, port, uuid } = jsn;
|
||||
|
|
@ -15,8 +15,8 @@ StreamDeck.onConnected((jsn) => {
|
|||
'input',
|
||||
Utils.debounce(150, () => {
|
||||
const value = Utils.getFormValue(form);
|
||||
StreamDeck.sendToPlugin(value, context);
|
||||
StreamDeck.setSettings(value);
|
||||
$SD.sendToPlugin(value, context);
|
||||
$SD.setSettings(value);
|
||||
console.log(value);
|
||||
})
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue