I'd just like to know the range(s) of JavaScript keyCode
s that correspond to typeable characters; or alternatively, the range of non-typeable (control) characters like backspace, escape, command, shift, etc. so I can ignore them.
The reason I ask is calling String.fromCharCode()
is resulting in odd characters for control keys. For example I get [ for left command, % for left arrow. Weirdness like that.