|
Mir
|
#include <input_sink.h>
Public Member Functions | |
| InputSink ()=default | |
| virtual | ~InputSink ()=default |
| virtual void | handle_input (MirEvent &event)=0 |
| virtual mir::geometry::Rectangle | bounding_rectangle () const =0 |
| ! Obtain the bounding rectangle of the destination area for this input sink More... | |
Device State interface of InputSink | |
In scenarios in which the system is not capable of receiving all changes as they occur, these method should be used to update the input device state as needed | |
| virtual void | key_state (std::vector< uint32_t > const &scan_codes)=0 |
| Set all pressed scan codes. More... | |
| virtual void | pointer_state (MirPointerButtons buttons)=0 |
| Set button state of a pointing device. More... | |
|
default |
|
virtualdefault |
|
pure virtual |
! Obtain the bounding rectangle of the destination area for this input sink
|
pure virtual |
|
pure virtual |
Set all pressed scan codes.
| scan_codes | currently pressed |
|
pure virtual |
Set button state of a pointing device.
| buttons | mask of the buttons currently pressed |
Copyright © 2012-2016 Canonical Ltd.
Generated on Wed Oct 11 22:26:23 UTC 2017