Home | Trees | Indices | Help |
---|
|
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
action_map = {'14': EventAction.GO_LEFT, '15': EventAction.GO_
|
|||
type_map = {'1': EventType.KEY_DOWN, '2': EventType.KEY_UP}
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|
Subscribe to the input device This can be done by connecting external component signals to our handlers or register a local callback that will be called by the external component when it receives an input event. This method must be overriden by implementation because it's totally dependent on the infrastructure used by the input device the component supports.
|
Unsubscribe from the input device This can be done by disconnecting our handlers from the external component signals or unregistering the local callback previously registered by the register() method. This method must be overriden by implementation because it's totally dependent on the infrastructure used by the input device the component supports.
|
Called whenever data is received. Use this method to translate to a higher-level message. Usually, some callback will be made upon the receipt of each complete protocol message.
|
Called when the connection is shut down. Clear any circular references here, and any external references to this Protocol. The connection has been closed.
|
|
|
action_map
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0beta1 on Wed Jan 16 19:09:26 2008 | http://epydoc.sourceforge.net |