mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-02 11:01:53 +08:00
mouse support
This commit is contained in:
@@ -27,8 +27,10 @@ var keyboard = new function() {
|
||||
};
|
||||
|
||||
this.setSocket = function(ws) {
|
||||
keyboard.releaseAll();
|
||||
__ws = ws;
|
||||
if (ws !== __ws) {
|
||||
keyboard.releaseAll();
|
||||
__ws = ws;
|
||||
}
|
||||
keyboard.updateLeds();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user