title: JavaScript keyboard event handler for long press
body: <p>I want to get <code>keyup</code> and <code>keydown</code> events with JavaScript, the problem is that at a long keyboard press those events are triggered automatically very often. Could I access the keys directly to get the physical events?</p>