loupedeck-commander 1.2.4 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -138,6 +138,7 @@ export class BaseLoupeDeckHandler {
|
|
|
138
138
|
this.screens.center = new ButtonField('center', this.device.rows, this.device.columns, dCenter.width, dCenter.height, profile.touch.center,profile)
|
|
139
139
|
this.screens.left = new ButtonField('left', 1, 1, dLeft.width, dLeft.height, profile.touch.left,profile)
|
|
140
140
|
this.screens.right = new ButtonField('right', 1, 1, dRight.width, dRight.height, profile.touch.right,profile)
|
|
141
|
+
|
|
141
142
|
// knobs are only available in the CT-version:
|
|
142
143
|
if (this.device.knobs) {
|
|
143
144
|
this.knobs = new ButtonField('knob', 1, 1, 0, 0, profile.knobs,profile)
|
|
@@ -151,10 +152,11 @@ export class BaseLoupeDeckHandler {
|
|
|
151
152
|
await this.buttons.load()
|
|
152
153
|
await this.knobs.load()
|
|
153
154
|
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
155
|
+
// Force a screen Update on all screens:
|
|
156
|
+
this.screenUpdate["center"] = true
|
|
157
|
+
this.screenUpdate["left"] = true
|
|
158
|
+
this.screenUpdate["right"] = true
|
|
159
|
+
await this.updateScreens()
|
|
158
160
|
|
|
159
161
|
await this.buttons.draw(this.device)
|
|
160
162
|
|
package/interfaces/opcuaif.mjs
CHANGED
|
@@ -47,7 +47,7 @@ export class OPCUAIf extends BaseIf {
|
|
|
47
47
|
if (!this.#client)
|
|
48
48
|
return
|
|
49
49
|
|
|
50
|
-
this.LogInfo(`OPCUAIf Stopping`)
|
|
50
|
+
this.LogInfo(`OPCUAIf Stopping\n`)
|
|
51
51
|
await this.#client.closeSession(this.#session,true)
|
|
52
52
|
await this.#client.disconnect()
|
|
53
53
|
this.#connected = false
|
package/package.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "loupedeck-commander",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
4
4
|
"description": "A system to ease working with LoupeDeck devices using CMD-line, OPC/UA or HTTP-client interfaces",
|
|
5
5
|
"main": "index.mjs",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"test": "
|
|
7
|
+
"test": "echo \"INFO: no test specified\" && exit 0",
|
|
8
|
+
"lint": "echo \"INFO: no linter specified\" && exit 0",
|
|
9
|
+
"format": "echo \"INFO: no format rule specified\" && exit 0",
|
|
8
10
|
"start": "node index.mjs"
|
|
9
11
|
},
|
|
10
12
|
"dependencies": {
|