Mir
|
The InputDispatchers role is to decide what should happen with user input events. More...
#include <input_dispatcher.h>
Public Member Functions | |
virtual void | configuration_changed (nsecs_t when)=0 |
Called when the device configuration changed. More... | |
virtual void | device_reset (int32_t device_id, nsecs_t when)=0 |
Called when the device device_id was added removed or was reset. More... | |
virtual void | dispatch (MirEvent const &event)=0 |
virtual void | start ()=0 |
virtual void | stop ()=0 |
virtual | ~InputDispatcher ()=default |
The InputDispatchers role is to decide what should happen with user input events.
It will receive MirEvents with either MirMotionEvent or MirKeyEvent inside. The InputDispatcher implementation shall either handle the input without informing any clients or pick a client surface and send the event to it.
|
virtualdefault |
|
pure virtual |
Called when the device configuration changed.
Implemented in mir::input::android::AndroidInputDispatcher, and mir::input::NullInputDispatcher.
|
pure virtual |
Called when the device device_id was added removed or was reset.
Implemented in mir::input::android::AndroidInputDispatcher, and mir::input::NullInputDispatcher.
|
pure virtual |
Implemented in mir::input::android::AndroidInputDispatcher, and mir::input::NullInputDispatcher.
|
pure virtual |
Implemented in mir::input::android::AndroidInputDispatcher, and mir::input::NullInputDispatcher.
|
pure virtual |
Implemented in mir::input::android::AndroidInputDispatcher, and mir::input::NullInputDispatcher.
Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Oct 10 14:07:14 UTC 2014