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

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

Known subclasses: elisa.core.tests.test_input_provider.MousePollInputProvider

Non-blocking way to retrieve user input events. Plugins can provide InputProviders to support new input devices (remote controls, wiimote, gyro mouse, joystick, ...)

Line # | Kind | Name | Docs
--- | --- | --- | ---
51 | Method | get_input_events | Retrieve events from an input device and translate them in

Inherited from InputProvider:

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

Inherited from Component (via InputProvider):

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 InputProvider, Component):

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

def get_input_events(self):
overridden in elisa.core.tests.test_input_provider.MousePollInputProvider
Retrieve events from an input device and translate them in `elisa.core.input_event.InputEvent` objects understandable by the InputManager. The returned list can be built with the create_input_event() method, for each data retrieved from the input device.

Returns | Input events from a user-input device (type: `elisa.core.input_event.InputEvent` list )