Class representing an input device for the default Android window surface EGL graphics output. More...
#include <kanzi/core.ui/platform/input_ng/android_ws/android_ws_input_device.hpp>
Public Member Functions | |
AndroidWSInputDevice (unsigned int width, unsigned int height, const EventSourceProperties &properties) | |
Constructor. More... | |
void | gatherData (EventQueue &queue) |
Amends the given event queue with the events received so far. More... | |
KZ_NO_DISCARD NativeEventHandle | getNativeEventHandle () const noexcept |
Gets the associated underlying native event handle. More... | |
KZ_NO_DISCARD KzsInputDeviceNative * | getNativeHandle () const noexcept |
Gets the associated native handle. More... | |
~AndroidWSInputDevice () | |
Destructor. More... | |
Class representing an input device for the default Android window surface EGL graphics output.
|
explicit |
Constructor.
width | Touch screen width in pixels. |
height | Touch screen height in pixels. |
properties | Properties to request for the input device. |
kanzi::android_ws::AndroidWSInputDevice::~AndroidWSInputDevice | ( | ) |
Destructor.
void kanzi::android_ws::AndroidWSInputDevice::gatherData | ( | EventQueue & | queue | ) |
Amends the given event queue with the events received so far.
queue | Event queue to amend. Do not clear nor assume to be empty. |
|
noexcept |
Gets the associated underlying native event handle.
|
noexcept |
Gets the associated native handle.