28 #ifndef __FREEWRL_SCENEGRAPH_KEYDEVICE_H__
29 #define __FREEWRL_SCENEGRAPH_KEYDEVICE_H__
32 #include "../vrml_parser/Structs.h"
36 #define X3D_KEYSENSOR(node) ((struct X3D_KeySensor*)node)
37 #define X3D_STRINGSENSOR(node) ((struct X3D_StringSensor*)node)
41 int KeySensorNodePresent();
42 void addNodeToKeySensorList(
struct X3D_Node* node);
43 void killKeySensorNodeList();
44 void sendKeyToKeySensor(
const char key,
int upDown);