Keypress is a robust keyboard input capturing Javascript utility focused on input for games.Keypress is an input capture library with some very special features, it is easy to pick up and use, has a reasonable footprint (~9kb), and has no dependencies.
Core Java Script