Skip to content

Commit

Permalink
web: default hid.mouse.rate=10
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Nov 8, 2023
1 parent 63d8784 commit c02dd70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/share/js/kvm/mouse.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function Mouse(__getGeometry, __recordWsEvent) {

tools.storage.bindSimpleSwitch($("hid-mouse-squash-switch"), "hid.mouse.squash", true);
tools.slider.setParams($("hid-mouse-sens-slider"), 0.1, 1.9, 0.1, tools.storage.get("hid.mouse.sens", 1.0), __updateRelativeSens);
tools.slider.setParams($("hid-mouse-rate-slider"), 10, 100, 10, tools.storage.get("hid.mouse.rate", 100), __updateRate); // set __timer
tools.slider.setParams($("hid-mouse-rate-slider"), 10, 100, 10, tools.storage.get("hid.mouse.rate", 10), __updateRate); // set __timer

tools.storage.bindSimpleSwitch($("hid-mouse-reverse-scrolling-switch"), "hid.mouse.reverse_scrolling", false);
tools.storage.bindSimpleSwitch($("hid-mouse-reverse-panning-switch"), "hid.mouse.reverse_panning", false);
Expand Down

0 comments on commit c02dd70

Please sign in to comment.