Part of elisa.core.input_manager View In Hierarchy
elisa.core.components.input_provider.InputProvider
s
or be polled by the InputManager, depending on the implementation chosen:
elisa.core.components.input_provider.PollInputProvider
or elisa.core.components.input_provider.PushInputProvider
.
Other objects can connect to the manager's signals that are emitted when
elisa.core.input_event.InputEvent
s
coming from elisa.core.components.input_provider.InputProvider
s
are received.
Line # | Kind | Name | Docs |
---|---|---|---|
51 | Method | __init__ | Undocumented |
58 | Method | clean | Undocumented |
64 | Method | process_event | Fire the signal corresponding to the event. |
84 | Method | register_component | Register a new InputProvider in the InputManager so that the |
95 | Method | unregister_component | Clean the InputProvider and unregister it from the InputManager; |
106 | Method | _bind_component | Undocumented |
116 | Method | _unbind_component | Undocumented |
122 | Method | _check_polling | Undocumented |
134 | Method | _poll_events | Poll each registered PollInputProvider for InputEvents to |
Inherited from Manager:
Line # | Kind | Name | Docs |
---|---|---|---|
194 | Method | plugin_status_changed_cb | Callback meant to be invoked (by the plugin registry) when the status |
70 | Method | _clean_component | Undocumented |
77 | Method | _load_components | Asynchronously load and register a list of components. |
117 | Method | _unload_components | Asynchronously unregister and unload a list of components. |
Each event type is mapped to a signal instance to which other elisa components can connect (e.g to monitor user key presses).
This method can be called by elisa.core.components.input_provider.PushInputProvider
components when they receive input data from the input device.
Parameters | event | the event to process
(type: elisa.core.input_event.InputEvent
) |
Parameters | component | the InputProvider instance to register
(type: elisa.core.components.input_provider.InputProvider
) |
Parameters | component | the InputProvider instance to unregister
(type: elisa.core.components.input_provider.InputProvider
) |