CUYB5CWV4TSF5O356V5RBNDXIIGQBS65AUKEWJOJMAP63ZFLTBYAC
function scrollSpeedBinding(node) {
node.value = state.scrollSpeed;
scroll_speed_value_display.innerText = `: ${state.scrollSpeed}`;
node.addEventListener("input", (e) => {
state.scrollSpeed = Number(e.target.value);
scroll_speed_value_display.innerText = `: ${state.scrollSpeed}`;
});
}
<label for="maccel">mouse acceleration</label>
<input id="maccel" type="number" />
<fieldset class="param">
<label for="maccel"
>mouse acceleration<span id="maccel_value_display"></span
></label>
<input id="maccel" type="range" min="1" max="20" step="1" />
</fieldset>
<fieldset class="param">
<label for="scroll_speed"
>scroll speed<span id="scroll_speed_value_display"></span
></label>
<input id="scroll_speed" type="range" min="1" max="20" step="1" />
</fieldset>