#include <LinmouseModule.h>
Inheritance diagram for ot::LinmouseModule:


Public Member Functions | |
| LinmouseModule () | |
| virtual | ~LinmouseModule () |
| virtual Node * | createNode (const std::string &name, StringTable &attributes) |
| virtual void | close () |
| virtual void | start () |
| virtual void | pushEvent () |
| virtual void | init (StringTable &attributes, ConfigNode *localTree) |
Protected Member Functions | |
| void | run () |
Protected Attributes | |
| NodeVector | sources |
| list of LinmouseSource nodes in the tree | |
| int | fd |
| int | stop |
|
|
constructor method. |
|
|
Destructor method, clears nodes member. |
|
|
closes the X keyboard source Reimplemented from ot::ThreadModule. |
|
||||||||||||
|
This method is called to construct a new Node. It compares name to the TargusSource element name, and if it matches creates a new TargusSource node.
Implements ot::NodeFactory. |
|
||||||||||||
|
initializes the LinmouseModule.
Reimplemented from ot::Module. |
|
|
pushes events into the tracker tree. Checks all TargusSources and pushes new events, if a TargusSource fires. The events store structure with position and status of the buttons. Reimplemented from ot::Module. |
|
|
Mainlopp Reimplemented from ot::ThreadModule. |
|
|
opens the X keyboard source Reimplemented from ot::ThreadModule. |
|
|
|
|
|
list of LinmouseSource nodes in the tree
|
|
|
|
1.4.6