Y
Hacker News
new
|
ask
|
show
|
jobs
by
mstange
4169 days ago
In the future it'll be possible to use keyEvent.code for this:
http://www.w3.org/TR/DOM-Level-3-Events/#keys-codevalues
It's supported in Firefox Nightly + Dev edition. I don't know whether other browsers support it yet.