mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added server-side remote user input lock support
This commit is contained in:
parent
ab538b086f
commit
811611ab7a
8 changed files with 1685 additions and 1615 deletions
|
@ -524,6 +524,9 @@ function CreateDesktopMultiplexor(parent, domain, nodeid, func) {
|
|||
case 85: // Unicode Key Events, forward to agent
|
||||
if (viewer.viewOnly == false) { obj.sendToAgent(data); }
|
||||
break;
|
||||
case 87: // Remote input lock, forward to agent
|
||||
if (viewer.viewOnly == false) { obj.sendToAgent(data); }
|
||||
break;
|
||||
default:
|
||||
console.log('Un-handled viewer command: ' + command);
|
||||
break;
|
||||
|
@ -672,6 +675,11 @@ function CreateDesktopMultiplexor(parent, domain, nodeid, func) {
|
|||
// Send this to all viewers right away
|
||||
obj.sendToAllViewers(data);
|
||||
break;
|
||||
case 87: // MNG_KVM_INPUT_LOCK
|
||||
// Send this to all viewers right away
|
||||
// This will update all views on the current state of the input lock
|
||||
obj.sendToAllViewers(data);
|
||||
break;
|
||||
case 88: // MNG_KVM_MOUSE_CURSOR
|
||||
// Send this to all viewers right away
|
||||
obj.sendToAllViewers(data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue