web: Option to hide blue dot

This commit is contained in:
Maxim Devaev
2024-02-16 18:49:38 +02:00
parent 9d33bb93ea
commit 22140106c4
4 changed files with 26 additions and 2 deletions

View File

@@ -337,6 +337,15 @@
</td>
<td class="value-number" id="hid-mouse-scroll-value"></td>
</tr>
<tr>
<td>Show the blue dot:</td>
<td align="right">
<div class="switch-box">
<input checked type="checkbox" id="hid-mouse-dot-switch">
<label for="hid-mouse-dot-switch"><span class="switch-inner"></span><span class="switch"></span></label>
</div>
</td>
</tr>
</table>
</div>
</details>

View File

@@ -100,6 +100,8 @@ li(id="system-dropdown" class="right")
td Scroll rate:
td(class="value-slider") #[input(type="range" id="hid-mouse-scroll-slider" class="slider")]
td(id="hid-mouse-scroll-value" class="value-number")
tr
+menu_switch_notable("hid-mouse-dot-switch", "Show the blue dot", true, true)
table(class="kv")
tr(id="hid-connect" class="feature-disabled")
+menu_switch_notable("hid-connect-switch", "Connect HID to Server", true, true)