pikvm/pikvm#281: adjustable relative mouse sensitivity

This commit is contained in:
Maxim Devaev
2021-08-17 15:01:04 +03:00
parent b7cf7b4523
commit 586c7d2077
6 changed files with 32 additions and 3 deletions

View File

@@ -190,6 +190,13 @@
</table>
</div>
<table class="kv">
<tr class="feature-disabled" id="hid-mouse-sens">
<td>Relative mouse sensitivity:</td>
<td>
<input class="slider" disabled type="range" id="hid-mouse-sens-slider">
</td>
<td class="value" id="hid-mouse-sens-value" style="min-width: 30px; max-width:30px"></td>
</tr>
<tr class="feature-disabled" id="hid-mouse-squash">
<td>Squash relative mouse moves:</td>
<td align="right">

View File

@@ -55,6 +55,10 @@ li(class="right")
td Mouse #[a(target="_blank" href="https://github.com/pikvm/pikvm/blob/master/pages/mouse.md") mode]:
td #[div(id="hid-outputs-mouse-box" class="radio-box")]
table(class="kv")
tr(id="hid-mouse-sens" class="feature-disabled")
td Relative mouse sensitivity:
td #[input(disabled type="range" id="hid-mouse-sens-slider" class="slider")]
td(id="hid-mouse-sens-value" class="value" style="min-width: 30px; max-width:30px")
tr(id="hid-mouse-squash" class="feature-disabled")
+menu_switch_notable("hid-mouse-squash-switch", "Squash relative mouse moves", true, true)
tr(id="hid-connect" class="feature-disabled")