Fixing Arrow Keys and WASD Not Working in Browser Games

TIME : 2016-01-08
Fixing Arrow Keys and WASD Not Working in Browser Games

When movement keys stop responding in an online game, the problem is almost always focus or the operating system intercepting the key before the browser sees it. Hardware failure is the least likely explanation.

Work through these

  • Click inside the game canvas. Browser games need keyboard focus, and clicking the page around them is not enough.
  • Check Sticky Keys and Filter Keys. On Windows, holding Shift repeatedly triggers Sticky Keys, which then swallows movement input.
  • Check Num Lock and Scroll Lock, which change what the arrow keys send.
  • Disable extensions or test in a private window. Extensions that remap keys are a frequent culprit.
  • Try fullscreen mode, which avoids some browser-level key handling.
  • Test the keyboard elsewhere, in Notepad or an on-screen keyboard, to rule out hardware.
  • Check for ghosting. Cheap keyboards cannot register certain key combinations at once, so diagonal movement fails while single keys work fine.

Tell me the browser and the game and the list narrows fast, but the focus and Sticky Keys checks solve the large majority of cases.