Mir
|
Input Platform is used to discover and access available input devices. More...
#include <platform.h>
Public Member Functions | |
Platform ()=default | |
virtual | ~Platform ()=default |
virtual std::shared_ptr< mir::dispatch::Dispatchable > | dispatchable ()=0 |
virtual void | start ()=0 |
virtual void | stop ()=0 |
Input Platform is used to discover and access available input devices.
A platform implementation is supposed to handle device occurance events by opening new device and registering them at the server's InputDeviceRegistry. Likewise the InputDeviceRegistry shall be informed about removed input devices.
The actual processing of user input is controlled through the mir::input::InputDevice interface.
|
default |
|
virtualdefault |
|
pure virtual |
The dispatchable of the platform shall be used to monitor for devices.
Implemented in mir::input::evdev::Platform, and mir::input::X::XInputPlatform.
|
pure virtual |
Request the platform to start monitoring for devices.
input_device_registry | should be informed about available input devices |
trigger_registry | should be used to register event sources that may indicate a changes of the available devices |
Implemented in mir::input::evdev::Platform, and mir::input::X::XInputPlatform.
|
pure virtual |
Request the platform to stop monitoring for devices.
Implemented in mir::input::evdev::Platform, and mir::input::X::XInputPlatform.
Copyright © 2012-2015 Canonical Ltd.
Generated on Thu Oct 8 16:20:16 UTC 2015