diff options
author | Maxim Devaev <[email protected]> | 2023-08-24 13:16:00 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-08-24 13:16:00 +0300 |
commit | 81d67c6ed7859501a8ee67a047d27e516fba96ae (patch) | |
tree | 0ef7f09864a52f63dcaadf931edfc85d5791af48 /web/kvm | |
parent | e78d3e03ec91e67e3b3b7c6397d1231a186a0b55 (diff) |
pikvm/pikvm#1094: web: separate switch for reversed scrolling and panning
Diffstat (limited to 'web/kvm')
-rw-r--r-- | web/kvm/index.html | 29 | ||||
-rw-r--r-- | web/kvm/navbar-system.pug | 8 |
2 files changed, 29 insertions, 8 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html index e76f06d7..a3335be4 100644 --- a/web/kvm/index.html +++ b/web/kvm/index.html @@ -286,13 +286,28 @@ </td> </tr> <tr> - <td>Reverse scrolling:</td> - <td align="right"> - <div class="switch-box"> - <input type="checkbox" id="hid-mouse-reverse-scrolling-switch"> - <label for="hid-mouse-reverse-scrolling-switch"><span class="switch-inner"></span><span class="switch"></span></label> - </div> - </td> + <td>Reverse scrolling:</td> + <td> + <table> + <tr> + <td>Y:</td> + <td align="right"> + <div class="switch-box"> + <input type="checkbox" id="hid-mouse-reverse-scrolling-switch"> + <label for="hid-mouse-reverse-scrolling-switch"><span class="switch-inner"></span><span class="switch"></span></label> + </div> + </td> + <td> </td> + <td>X:</td> + <td align="right"> + <div class="switch-box"> + <input type="checkbox" id="hid-mouse-reverse-panning-switch"> + <label for="hid-mouse-reverse-panning-switch"><span class="switch-inner"></span><span class="switch"></span></label> + </div> + </td> + </tr> + </table> + </td> </tr> <tr> <td>Cumulative scrolling:</td> diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug index e1054bd5..77723f9a 100644 --- a/web/kvm/navbar-system.pug +++ b/web/kvm/navbar-system.pug @@ -83,7 +83,13 @@ li(id="system-dropdown" class="right") tr(id="hid-mouse-squash" class="feature-disabled") +menu_switch_notable("hid-mouse-squash-switch", "Squash relative moves", true, true) tr - +menu_switch_notable("hid-mouse-reverse-scrolling-switch", "Reverse scrolling", true, false) + td Reverse scrolling: + td + table + tr + +menu_switch_notable("hid-mouse-reverse-scrolling-switch", "Y", true, false) + td + +menu_switch_notable("hid-mouse-reverse-panning-switch", "X", true, false) tr +menu_switch_notable("hid-mouse-cumulative-scrolling-switch", "Cumulative scrolling", true, false) tr |