diff options
author | Maxim Devaev <[email protected]> | 2021-09-27 14:51:54 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2021-09-27 14:51:54 +0300 |
commit | 9f9396a8104e56bc95a66fcef4a45b3938b86e7c (patch) | |
tree | 7e6f963dee80bc3dc5bdc9167152b10309d24fc9 /web/kvm | |
parent | 67b67f6cbc820dbc233599d9ccafeded785879ac (diff) |
configurable mouse polling rate
Diffstat (limited to 'web/kvm')
-rw-r--r-- | web/kvm/index.html | 7 | ||||
-rw-r--r-- | web/kvm/navbar-system.pug | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html index 09ad0f71..9b9a4a9b 100644 --- a/web/kvm/index.html +++ b/web/kvm/index.html @@ -190,6 +190,13 @@ </table> </div> <table class="kv"> + <tr> + <td>Mouse polling rate:</td> + <td> + <input class="slider" type="range" id="hid-mouse-rate-slider"> + </td> + <td class="value" id="hid-mouse-rate-value" style="min-width: 30px; max-width:30px"></td> + </tr> <tr class="feature-disabled" id="hid-mouse-sens"> <td>Relative mouse sensitivity:</td> <td> diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug index db6ddb3d..20a92c03 100644 --- a/web/kvm/navbar-system.pug +++ b/web/kvm/navbar-system.pug @@ -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 + td Mouse polling rate: + td #[input(type="range" id="hid-mouse-rate-slider" class="slider")] + td(id="hid-mouse-rate-value" class="value" style="min-width: 30px; max-width:30px") tr(id="hid-mouse-sens" class="feature-disabled") td Relative mouse sensitivity: td #[input(disabled type="range" id="hid-mouse-sens-slider" class="slider")] |