keyboard sensor

captures key presses and identifies them via virtual key codes.
click on the vrml window and start typing.
[wrl]