# Class e.c.t.t.MousePushInputProvider(input_provider.PushInputProvider):

Part of elisa.core.tests.test_input_provider View In Hierarchy

Undocumented

Line # | Kind | Name | Docs
--- | --- | --- | ---
47 | Method | create_input_event | Translate external input data to an InputEvent object,
50 | Method | bind | Subscribe to the input device
53 | Method | unbind | Unsubscribe from the input device
56 | Method | trigger_some_events | Undocumented

Inherited from PushInputProvider:

Line # | Kind | Name | Docs
--- | --- | --- | ---
73 | Method | clean | Additional cleanups to default Component's cleanup:

Inherited from Component (via PushInputProvider, InputProvider):

Line # | Kind | Name | Docs
--- | --- | --- | ---
85 | Class | PathDescriptor | Undocumented
97 | Class Method | create | Create and initialize the component.
130 | Method | initialize | Initialize the component.

Inherited from Loggable (via PushInputProvider, InputProvider, Component):

Line # | Kind | Name | Docs
--- | --- | --- | ---
81 | Method | __init__ | Undocumented

def create_input_event(self, data):
overrides elisa.core.components.input_provider.InputProvider.create_input_event
Translate external input data to an InputEvent object, understandable by the InputManager. This method has to be overriden by InputProvider implementations. This method is called by InputProvider implementations.

Parameters | data | the data to translate, can be of any type
Returns | `elisa.core.input_event.InputEvent`

def bind(self):
overrides elisa.core.components.input_provider.PushInputProvider.bind

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.

def unbind(self):
overrides elisa.core.components.input_provider.PushInputProvider.unbind

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.

def trigger_some_events(self):
Undocumented