Skip to content

Commit

Permalink
Fixed pikvm/pikvm#877: Handling up/down mouse buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Dec 6, 2022
1 parent 7f48c5c commit d3d4e25
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
7 changes: 7 additions & 0 deletions web/kvm/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,13 @@
<div class="key wide-3 right rounded-right" data-code="right">
<div class="label">Right</div>
</div>
<div class="empty" style="width:30px"></div>
<div class="key small rounded-left" data-code="up">
<div class="label">Up</div>
</div>
<div class="key small rounded-right" data-code="down">
<div class="label">Down</div>
</div>
</div>
</div>
</div>
Expand Down
11 changes: 11 additions & 0 deletions web/kvm/window-stream.pug
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,24 @@ div(id="stream-window" class="window window-resizable")
div(class="label") Left
div(data-code="left" class="modifier left small rounded-right")
div(class="label") #[b &bull;]#[br]Hold

div(class="empty" style="width:15px")

div(data-code="middle" class="key wide-1 left rounded-left")
div(class="label") Mid
div(data-code="middle" class="modifier left small rounded-right")
div(class="label") #[b &bull;]#[br]Hold

div(class="empty" style="width:15px")

div(data-code="right" class="modifier right small rounded-left")
div(class="label") #[b &bull;]#[br]Hold
div(data-code="right" class="key wide-3 right rounded-right")
div(class="label") Right

div(class="empty" style="width:30px")

div(data-code="up" class="key small rounded-left")
div(class="label") Up
div(data-code="down" class="key small rounded-right")
div(class="label") Down

0 comments on commit d3d4e25

Please sign in to comment.