TIL · 2026-09-25

I pressed two keys together twice and it dashed in only one direction — don't commit on the first event

Why committing the direction on the first key fails to merge the second key, since the browser sends keys pressed at the same time as separate keydown events, and how a 50ms collection window solved it

Date
2026-09-25
Reading time
3 min

This page is a machine translation of the Korean original. Read the original

Tags

keyboardkeydowngame-loopinputtesting