XTest and touch events
Hi. I am sorry if I am annoying or something, but I found literally no information about sending touches to server. I need it for x11vnc
like application.
As far as I see here XI_TouchBegin
, XI_TouchUpdate
, XI_TouchEnd
and XI_RawMotion
(for scroll with axes support) events can not be sent using X_XTestFakeInput
request, it will simply return with BadValue
error.
I found XSendExtensionEvent
function, but there is literally no information about it in internet, only manual pages without code examples. I mean I tried to search some code in github, gitlab and other sources, but all C code I found is located in libX11 forks.
Is there any code relevant to sending touches to server? And there also a problem with touch ID which is located in XIDeviceEvent
's details field. Where can I retrieve last ID used there in the case if my program is not the only one who sends those events?
Thank you very much. I hope you can help me.