# Class e.c.c.i.InputProvider(Component):

Part of elisa.core.components.input_provider View In Hierarchy

Known subclasses: elisa.core.components.input_provider.PollInputProvider, elisa.core.components.input_provider.PushInputProvider

Input events provider class. Plugins can't subclass it directly, they have to use either `PollInputProvider` or `PushInputProvider` classes.

Line # | Kind | Name | Docs
--- | --- | --- | ---
35 | Method | create_input_event | Translate external input data to an InputEvent object,

Inherited from Component:

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

Inherited from Loggable (via Component):

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

def create_input_event(self, data):
overridden in elisa.core.tests.test_input_provider.MousePollInputProvider, elisa.core.tests.test_input_provider.MousePushInputProvider, elisa.plugins.base.input_providers.raw_input.RawInput, elisa.plugins.bluetooth.bluetooth_input.BluetoothInput, elisa.plugins.winremote.streamzap_input.StreamzapInput
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`