29 #ifndef __X3DKEYDEVICESENSORNODE_H__
30 #define __X3DKEYDEVICESENSORNODE_H__
74 Inst< SFNode > _metadata = 0,
75 Inst< SFBool > _isActive = 0 );
89 virtual void keyboardUp(
int key,
bool special_key ) = 0;
93 static void keyboardDownCallback(
unsigned char key );
96 static void keyboardSpecialDownCallback(
int key );
100 static void keyboardUpCallback(
unsigned char key );
103 static void keyboardSpecialUpCallback(
int key );
107 static list< X3DKeyDeviceSensorNode * > instances;
Header file for X3DSensorNode, X3D scene-graph node.
This abstract node type is the base type for all sensor node types which operate using key devices.
Definition: X3DKeyDeviceSensorNode.h:43
virtual void keyboardUp(int key, bool special_key)=0
Virtual function called when a key is released.
virtual void keyboardDown(int key, bool special_key)=0
Virtual function called when a key is pressed.
This abstract node type is the base type for all sensors.
Definition: X3DSensorNode.h:40
H3D API namespace.
Definition: Anchor.h:38