KDE 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.
authenticate(application: string, reason: string)
Argument | Type | Description |
---|---|---|
application | string | user visible name of the application |
reason | string | 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.
Argument | Type | Description |
---|---|---|
id | uint | unique id for touch down event |
x | fixed | x coordinate for touch down event |
y | fixed | y coordinate for touch down event |
A client should use this request to send touch down event at specific coordinates.
Argument | Type | Description |
---|---|---|
id | uint | unique id for touch motion event |
x | fixed | x coordinate for touch motion event |
y | fixed | y coordinate for touch motion event |
A client should use this request to send touch motion to specific position.
touch_up(id: uint)
Argument | Type | Description |
---|---|---|
id | uint | unique id for touch up event |
A client should use this request to send touch up event.
touch_cancel()
A client should use this request to cancel the current touch event.
touch_frame()
A client should use this request to send touch frame event.