Is there a KeyUp event when a key is released outside the page?
<p>I can currently see which keys are pressed using JavaScript, using a library that relies on <code>KeyDown</code> / <code>KeyUp</code> events. Although this works beautifully when keys are pressed/released inside the page, the events do not fire when a key is released outside the page (i.e., when it does not have focus).</p>

<p>So, one could press the <code>Enter</code> key when the page has focus (the event will fire, everything goes well), but when he releases it when the page does not have focus, the event does <em>not</em> fire, which results in an unability for me to know whether the key is still pressed or not.</p>

<p>As for the library used, please refer to:
<a href="http://www.n-son.com/scripts/keyLib/keyLib.js" rel="nofollow">http://www.n-son.com/scripts/keyLib/keyLib.js</a></p>

<p>Is it possible to know when a key is released when the page does not have focus? Or is there perhaps a general function to check if a key is pressed at a specific time?</p>
