mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 09:01:54 +08:00
pikvm/pikvm#1418: web: hold/lock key on keypad
This commit is contained in:
@@ -35,7 +35,7 @@ export function Keyboard(__recordWsEvent) {
|
||||
var __keypad = null;
|
||||
|
||||
var __init__ = function() {
|
||||
__keypad = new Keypad("div#keyboard-window", __sendKey, true);
|
||||
__keypad = new Keypad($("keyboard-window"), __sendKey, true);
|
||||
|
||||
$("hid-keyboard-led").title = "Keyboard free";
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ export function Mouse(__getGeometry, __recordWsEvent) {
|
||||
var __stream_hovered = false;
|
||||
|
||||
var __init__ = function() {
|
||||
__keypad = new Keypad("div#stream-mouse-buttons", __sendButton, false);
|
||||
__keypad = new Keypad($("stream-mouse-buttons"), __sendButton, false);
|
||||
|
||||
$("hid-mouse-led").title = "Mouse free";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user