mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
web: option to remap ctrl/caps
This commit is contained in:
@@ -259,11 +259,23 @@
|
||||
</table>
|
||||
</div>
|
||||
<details>
|
||||
<summary>Mouse settings</summary>
|
||||
<summary>Keyboard & Mouse (HID) settings</summary>
|
||||
<div class="spoiler">
|
||||
<table class="kv">
|
||||
<tr>
|
||||
<td>Polling interval:</td>
|
||||
<td>Swap Left Ctrl and Caps keys:</td>
|
||||
<td align="right">
|
||||
<div class="switch-box">
|
||||
<input type="checkbox" id="hid-keyboard-swap-cc-switch">
|
||||
<label for="hid-keyboard-swap-cc-switch"><span class="switch-inner"></span><span class="switch"></span></label>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr>
|
||||
<table class="kv">
|
||||
<tr>
|
||||
<td>Mouse polling:</td>
|
||||
<td class="value-slider">
|
||||
<input class="slider" type="range" id="hid-mouse-rate-slider">
|
||||
</td>
|
||||
|
||||
@@ -69,11 +69,15 @@ li(id="system-dropdown" class="right")
|
||||
td Mouse #[a(target="_blank" href="https://docs.pikvm.org/mouse") mode]:
|
||||
td #[div(id="hid-outputs-mouse-box" class="radio-box")]
|
||||
details
|
||||
summary Mouse settings
|
||||
summary Keyboard & Mouse (HID) settings
|
||||
div(class="spoiler")
|
||||
table(class="kv")
|
||||
tr
|
||||
td Polling interval:
|
||||
+menu_switch_notable("hid-keyboard-swap-cc-switch", "Swap Left Ctrl and Caps keys", true, false)
|
||||
hr
|
||||
table(class="kv")
|
||||
tr
|
||||
td Mouse polling:
|
||||
td(class="value-slider") #[input(type="range" id="hid-mouse-rate-slider" class="slider")]
|
||||
td(id="hid-mouse-rate-value" class="value-number")
|
||||
tr(id="hid-mouse-sens" class="feature-disabled")
|
||||
|
||||
Reference in New Issue
Block a user