mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added Intel AMT watchdog presence in MeshCmd
This commit is contained in:
parent
72c14d9d5f
commit
024023247d
9 changed files with 168 additions and 25 deletions
|
@ -550,17 +550,13 @@ var CreateAmtRemoteDesktop = function (divid, scrolldiv) {
|
|||
return obj.haltEvent(e);
|
||||
}
|
||||
|
||||
obj.sendkey = function (k, d) { obj.send(String.fromCharCode(4, d, 0, 0) + IntToStr(k)); }
|
||||
obj.sendkey = function (k, d) {
|
||||
if (typeof k == 'object') { for (var i in k) { obj.sendkey(k[i][0], k[i][1]); } }
|
||||
else { obj.send(String.fromCharCode(4, d, 0, 0) + IntToStr(k)); }
|
||||
}
|
||||
|
||||
obj.SendCtrlAltDelMsg = function () { obj.sendcad(); }
|
||||
obj.sendcad = function () {
|
||||
obj.sendkey(0xFFE3, 1); // Control
|
||||
obj.sendkey(0xFFE9, 1); // Alt
|
||||
obj.sendkey(0xFFFF, 1); // Delete
|
||||
obj.sendkey(0xFFFF, 0); // Delete
|
||||
obj.sendkey(0xFFE9, 0); // Alt
|
||||
obj.sendkey(0xFFE3, 0); // Control
|
||||
}
|
||||
obj.sendcad = function () { obj.sendkey([[0xFFE3, 1], [0xFFE9, 1], [0xFFFF, 1], [0xFFFF, 0], [0xFFE9, 0], [0xFFE3, 0]]); } // Control down, Alt down, Delete down, Delete up , Alt up , Control up
|
||||
|
||||
var _MouseInputGrab = false;
|
||||
var _KeyInputGrab = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue