15 #ifndef MOUSEINTERFACENODE_H
16 #define MOUSEINTERFACENODE_H
18 #include "pandabase.h"
21 #include "modifierButtons.h"
40 void require_button(
const ButtonHandle &button,
bool is_down);
42 void clear_all_buttons();
47 bool &required_buttons_match);
58 int _button_events_input;
64 static void init_type() {
65 DataNode::init_type();
66 register_type(_type_handle,
"MouseInterfaceNode",
67 DataNode::get_class_type());
70 return get_class_type();
72 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
78 #include "mouseInterfaceNode.I"
The fundamental type of node for the data graph.
This is the base class for some classes that monitor the mouse and keyboard input and perform some ac...
TypeHandle is the identifier used to differentiate C++ class types.
Encapsulates the data generated from (or sent into) any particular DataNode.