InputEventForwarder¶
-
class
kanzi::connect::InputEventForwarder: public InputManipulator¶ Input manipulator for kanzi connect which forwards input touch events to input service.
Public Functions
Constructor.
- Parameters
domain: The UI domainservice: The input service instance which is used to pass events to server
-
~InputEventForwarder() override = default¶ dtor
-
bool
notifyKeyInput(const KeyEvent &event) override¶ Handle the key events within the node.
-
void
notifyTouchInside(const TouchInfo &touchInfo) override¶ Handle the touch events within the area.
-
void
setGeometry(const Vector2 &topLeft, const Vector2 &size)¶ Set active area for capture start point.
In node coordinates
- Parameters
topLeft: The coordinates of top left cornersize: The width and length of the area
-
void
setInputStreamId(string streamId, bool clearStreamIdHash)¶
-
void
setInputStreamIdHash(int streamIdHash)¶