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. | |
void | gatherData (EventQueue &queue) |
Amends the given event queue with the events received so far. | |
KZ_NO_DISCARD NativeEventHandle | getNativeEventHandle () const noexcept |
Gets the associated underlying native event handle. | |
KZ_NO_DISCARD KzsInputDeviceNative * | getNativeHandle () const noexcept |
Gets the associated native handle. | |
~AndroidWSInputDevice () | |
Destructor. | |
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.