Skip to content

Commit

Permalink
lowered packet rate from 25Hz to 10Hz
Browse files Browse the repository at this point in the history
  • Loading branch information
BotSpace committed Jun 12, 2024
1 parent 9113901 commit d367fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ document.addEventListener('DOMContentLoaded', function () {
toggleKeyboardWASD.ontouchstart = updateSlider.bind(null, toggleKeyboardWASD, toggleState=true)
toggleInfo.ontouchstart = updateInfoSlider.bind(null, toggleInfo, toggleState=true)

window.setInterval(renderLoop, 40); // call renderLoop every num milliseconds
window.setInterval(renderLoop, 100); // call renderLoop every num milliseconds
});

function updateMobileSlider(sliderElement, toggleState){
Expand Down

0 comments on commit d367fec

Please sign in to comment.