DataNode that listens for keyboard and mouse events and passes them to libRocket.
Definition at line 33 of file rocketInputHandler.h.
The virtual implementation of transmit_data().
This function receives an array of input parameters and should generate an array of output parameters. The input parameters may be accessed with the index numbers returned by the define_input() calls that were made earlier (presumably in the constructor); likewise, the output parameters should be set with the index numbers returned by the define_output() calls.
Reimplemented from DataNode.
Definition at line 144 of file rocketInputHandler.cxx.
References MouseButton::five(), MouseButton::four(), DataGraphTraverser::get_current_thread(), DataNodeTransmit::get_data(), ButtonEventList::get_event(), ButtonEventList::get_num_events(), EventParameter::get_ptr(), get_rocket_key(), EventStoreValue< Type >::get_value(), DataNodeTransmit::has_data(), MouseButton::one(), MouseButton::three(), MouseButton::two(), MouseButton::wheel_down(), and MouseButton::wheel_up().