If field activate is TRUE, generates a event of the current time on field currentTime if one of the keys specified in the field url is pressed.
The InputSensor node is somewhat limited: one cannot know when the user released
the key or what key was pressed when the KeySensor listens multiple keys.
The KeySensor node provides such informations.
SFString url "" :
Multiple keys may be set, and thus sensed. Allowed values are:
A B U D L R E C Z X 0 1 2 3 4 5 6 7 8 9 * #.
SFTime eventTime 0 :
This field emits current time when a listened key is pressed.
SFBool activate FALSE :
If TRUE, the KeySensor can
emit events.
SFBool grabFocus FALSE :
Only the last activated KeySensor
node with grabFocus set to TRUE will receive event.
This is used to hide events to other activated InputSensors.