summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/mouse.js
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-09-30 07:36:50 +0300
committerDevaev Maxim <[email protected]>2019-09-30 07:36:50 +0300
commit5b8ac7ba70ee0ade4139fa888a23e4d4d3eb22cd (patch)
tree555dac169b54ccda90d947f965378002d5c75f96 /web/share/js/kvm/mouse.js
parenteb445ca45dc6cd002d2d13889000adda0639f81d (diff)
added middle button
Diffstat (limited to 'web/share/js/kvm/mouse.js')
-rw-r--r--web/share/js/kvm/mouse.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/share/js/kvm/mouse.js b/web/share/js/kvm/mouse.js
index cf2dfac4..85efa199 100644
--- a/web/share/js/kvm/mouse.js
+++ b/web/share/js/kvm/mouse.js
@@ -121,6 +121,7 @@ export function Mouse() {
switch (event.button) {
case 0: __keypad.emit("left", state); break;
case 2: __keypad.emit("right", state); break;
+ case 1: __keypad.emit("middle", state); break;
}
};