fake_input
-
# org_kde_kwin_fake_input
This interface allows other processes to provide fake input events. Purpose is on the one hand side to provide testing facilities like XTest on X11. But also to support use case like kdeconnect's mouse pad interface. A compositor should not trust the input received from this interface. Clients should not expect that the compositor honors the requests from this interface. Warning! The protocol described in this file is a desktop environment implementation detail. Regular clients must not use this protocol. Backward incompatible changes may be added without bumping the major version of the extension.Requests
-
void org_kde_kwin_fake_input_authenticate(struct org_kde_kwin_fake_input* org_kde_kwin_fake_input,const char* application, /* user visible name of the application */const char* reason /* reason why the application wants to use this interface */)A client should use this request to tell the compositor why it wants to use this interface. The compositor might use the information to decide whether it wants to grant the request. The data might also be passed to the user to decide whether the application should get granted access to this very privileged interface.
-
void org_kde_kwin_fake_input_pointer_motion(struct org_kde_kwin_fake_input* org_kde_kwin_fake_input,wl_fixed_t delta_x,wl_fixed_t delta_y)
-
void org_kde_kwin_fake_input_button(struct org_kde_kwin_fake_input* org_kde_kwin_fake_input,uint32_t button,uint32_t state)
-
void org_kde_kwin_fake_input_axis(struct org_kde_kwin_fake_input* org_kde_kwin_fake_input,uint32_t axis,wl_fixed_t value)
-
void org_kde_kwin_fake_input_touch_down(struct org_kde_kwin_fake_input* org_kde_kwin_fake_input,uint32_t id, /* unique id for touch down event */wl_fixed_t x, /* x coordinate for touch down event */wl_fixed_t y /* y coordinate for touch down event */)A client should use this request to send touch down event at specific coordinates.
-
void org_kde_kwin_fake_input_touch_motion(struct org_kde_kwin_fake_input* org_kde_kwin_fake_input,uint32_t id, /* unique id for touch motion event */wl_fixed_t x, /* x coordinate for touch motion event */wl_fixed_t y /* y coordinate for touch motion event */)A client should use this request to send touch motion to specific position.
-
void org_kde_kwin_fake_input_touch_up(struct org_kde_kwin_fake_input* org_kde_kwin_fake_input,uint32_t id /* unique id for touch up event */)A client should use this request to send touch up event.
-
void org_kde_kwin_fake_input_touch_cancel(struct org_kde_kwin_fake_input* org_kde_kwin_fake_input)A client should use this request to cancel the current touch event.
-
void org_kde_kwin_fake_input_touch_frame(struct org_kde_kwin_fake_input* org_kde_kwin_fake_input)A client should use this request to send touch frame event.
-
void org_kde_kwin_fake_input_pointer_motion_absolute(struct org_kde_kwin_fake_input* org_kde_kwin_fake_input,wl_fixed_t x,wl_fixed_t y)
-
void org_kde_kwin_fake_input_keyboard_key(struct org_kde_kwin_fake_input* org_kde_kwin_fake_input,uint32_t button,uint32_t state)
-
void org_kde_kwin_fake_input_destroy(struct org_kde_kwin_fake_input* org_kde_kwin_fake_input)
-
Copyright Info
SPDX-FileCopyrightText: 2015 Martin Gräßlin
SPDX-License-Identifier: LGPL-2.1-or-later