migerh/dcpu16.js — pull request #20 by Dav1dde (2012-05-08 15:56:50+00:00)
Title: improved key-handling #18

This improves the key handling of the "Keyboard":

* `preventDefault` works now
* backspace still works
* right characters are chosen (`a` instead of `A` and caps-lock etc. is recognized)
* special keys are no longer sent to the program, maybe that's an issue (keys like `arrow-up` etc.)