summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/kvm/index.html7
-rw-r--r--web/kvm/window-stream.pug6
-rw-r--r--web/share/js/kvm/mouse.js2
3 files changed, 15 insertions, 0 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html
index 1872c9aa..6d9b636d 100644
--- a/web/kvm/index.html
+++ b/web/kvm/index.html
@@ -420,6 +420,13 @@
<div class="modifier wide-2 right small" data-code="right"><span><b>&bull;</b><br>Hold &rarr;</span></div>
<div class="key wide-4 right small" data-code="right"><span>Mouse<br>Right</span></div>
</div>
+ <div class="keypad-row" style="display:none">
+ <div class="key wide-4 left small" data-code="up"><span>Mouse<br>Up/Back</span></div>
+ <div class="modifier wide-2 left small" data-code="up"><span><b>&bull;</b><br>&larr; Hold</span></div>
+ <div class="empty-key" style="width:10px"></div>
+ <div class="modifier wide-2 right small" data-code="down"><span><b>&bull;</b><br>Hold &rarr;</span></div>
+ <div class="key wide-4 right small" data-code="down"><span>Mouse<br>Down/Fw</span></div>
+ </div>
</div>
</div>
</div>
diff --git a/web/kvm/window-stream.pug b/web/kvm/window-stream.pug
index 232a3f72..f3493c39 100644
--- a/web/kvm/window-stream.pug
+++ b/web/kvm/window-stream.pug
@@ -13,3 +13,9 @@
div(class="empty-key" style="width:10px")
div(data-code="right" class="modifier wide-2 right small") #[span #[b &bull;]#[br]Hold &rarr;]
div(data-code="right" class="key wide-4 right small") #[span Mouse#[br]Right]
+ div(class="keypad-row" style="display:none")
+ div(data-code="up" class="key wide-4 left small") #[span Mouse#[br]Up/Back]
+ div(data-code="up" class="modifier wide-2 left small") #[span #[b &bull;]#[br]&larr; Hold]
+ div(class="empty-key" style="width:10px")
+ div(data-code="down" class="modifier wide-2 right small") #[span #[b &bull;]#[br]Hold &rarr;]
+ div(data-code="down" class="key wide-4 right small") #[span Mouse#[br]Down/Fw]
diff --git a/web/share/js/kvm/mouse.js b/web/share/js/kvm/mouse.js
index 6fb69781..33b9f56f 100644
--- a/web/share/js/kvm/mouse.js
+++ b/web/share/js/kvm/mouse.js
@@ -120,6 +120,8 @@ export function Mouse(record_callback) {
case 0: __keypad.emit("left", state); break;
case 2: __keypad.emit("right", state); break;
case 1: __keypad.emit("middle", state); break;
+ case 3: __keypad.emit("up", state); break;
+ case 4: __keypad.emit("down", state); break;
}
};