fix: tighten up OS key smoothing

This commit is contained in:
cha0s 2024-11-17 03:38:27 -06:00
parent 88fa01c920
commit 7c976ad8c0

View File

@ -34,7 +34,7 @@ export default function addKeyListener(target, listener) {
delete keyUpDelays[key];
delete keysDown[key];
listener({event, type: 'keyUp', payload: key});
}, 20);
}, 5);
}
window.addEventListener('blur', onBlur);
window.addEventListener('keyup', onKeyUp);