15 #ifndef MOUSEANDKEYBOARD_H 16 #define MOUSEANDKEYBOARD_H 18 #include "pandabase.h" 21 #include "buttonEventList.h" 22 #include "pointerEventList.h" 23 #include "linmath_events.h" 24 #include "pointerTo.h" 25 #include "graphicsWindow.h" 53 int get_source_device()
const;
64 int _pixel_size_output;
66 int _button_events_output;
67 int _pointer_events_output;
81 static void init_type() {
82 DataNode::init_type();
83 register_type(_type_handle,
"MouseAndKeyboard",
84 DataNode::get_class_type());
87 return get_class_type();
89 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
The fundamental type of node for the data graph.
Reads the mouse and/or keyboard data sent from a GraphicsWindow, and transmits it down the data graph...
A handy class object for storing simple values (like integers or strings) passed along with an Event ...
A window, fullscreen or on a desktop, into which a graphics device sends its output for interactive d...
TypeHandle is the identifier used to differentiate C++ class types.
Encapsulates the data generated from (or sent into) any particular DataNode.
This object supervises the traversal of the data graph and the moving of data from one DataNode to it...