# Class e.p.w.s.StreamzapInput(PushInputProvider):

Part of elisa.plugins.winremote.streamzap_input View In Hierarchy

This class implements Streamzap remote control support for win32

Line # | Kind | Name | Docs
--- | --- | --- | ---
55 | Method | initialize | Initialize the component.
72 | Method | unbind | Unsubscribe from the input device
75 | Method | create_input_event | Translate external input data to an InputEvent object,

Inherited from PushInputProvider:

Line # | Kind | Name | Docs
--- | --- | --- | ---
73 | Method | clean | Additional cleanups to default Component's cleanup:
80 | Method | bind | Subscribe to the input device

Inherited from Component (via PushInputProvider, InputProvider):

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

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

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

def initialize(self):
overrides elisa.core.component.Component.initialize

Initialize the component.

This method is called by `Component.create` to finish the initialization of a component.

Returns | a deferred called when a component is fully initialized (type: `twisted.internet.defer.Deferred` )

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 create_input_event(self, msg, wparam, lparam):
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`