mrdoob/three.js — pull request #1882 by voondo (2012-05-08 15:17:21+00:00)
Title: Keyboard layouts support

Here is a very basic support of differents keyboard layouts.

The idea :
* differents layouts are defined in extras/KeyboardUtils.js with the english one as reference
* instead of *switch( event.keyCode )*, use of *switch(THREE.KeyboardUtils.map(event.keyCode))* which rely on the english keys name instead of their numeric keyCode

For now, the layout has to be setted manually. e.g :
```
THREE.KeyboardUtils.layout = "fr";
```
I quickly searched a way to detect it automatically but it seems hazardous : http://stackoverflow.com/a/4403057/1108154

What are your views on this?

I only adapted the code of *extras/controls/FlyControls.js* (for now).