Skip to content

Commit 18c1944

Browse files
authored
fix feedbacks (#175)
send a second command without an argument to force the console to respond to actions
1 parent 16404ff commit 18c1944

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/handlers/connection-handler.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ export class ConnectionHandler extends EventEmitter {
159159
args: args,
160160
}
161161
this.osc.send(command)
162+
this.osc.send({ address: cmd, args: [] }) // a bit ugly, but needed to keep the desk state up to date in companion
162163
if (preventLog) return
163164
this.logger?.debug(`Sending OSC command: ${command.address} ${argument ?? ''}`)
164165
}

0 commit comments

Comments
 (0)