3 ms·
Should all be fixed now! See https://github.com/James-Livesey/atto/pull/7 https://github.com/James-Livesey/atto/pull/7 for more details. In the end, using `inpu
by James-Livesey 5y ago
Should all be fixed now! See https://github.com/James-Livesey/atto/pull/7 https://github.com/James-Livesey/atto/pull/7 for more details. In the end, using `input` still wasn't sufficient to fix the lag, so instead I 'bodged' the delay before rendering happens by adding a 10 ms wait between keydown and render. But yes, you were right in thinking that `hidInput` wasn't 'ready' for the renderer to get the value of!