mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 01:21:20 -04:00
update wasd control rate
This commit is contained in:
@@ -81,7 +81,7 @@ document.querySelectorAll('[data-mode]').forEach((btn) => {
|
||||
});
|
||||
|
||||
const keys = new Set();
|
||||
const driveInterval = 120;
|
||||
const driveInterval = 50;
|
||||
|
||||
window.addEventListener('keydown', (event) => {
|
||||
keys.add(event.key.toLowerCase());
|
||||
|
||||
Reference in New Issue
Block a user