<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span style="font-size:15px;font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;margin:0px;color:rgb(36, 36, 36);background-color:rgb(255, 255, 255)"><span style="font-size:12pt;font-family:Calibri, Arial, Helvetica, sans-serif;margin:0px;color:black;background-color:white" class="ContentPasted0">What
 does still Wayland not standarize? Do you say the automation of input devices, don't you?</span></span>
<div style="font-size:15px;font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;margin:0px;color:rgb(36, 36, 36);background-color:rgb(255, 255, 255)">
<span style="font-size:12pt;font-family:Calibri, Arial, Helvetica, sans-serif;margin:0px;color:black;background-color:white"><br class="ContentPasted0">
</span></div>
<div style="font-size:15px;font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;margin:0px;color:rgb(36, 36, 36);background-color:rgb(255, 255, 255)">
<span style="font-size:12pt;font-family:Calibri, Arial, Helvetica, sans-serif;margin:0px;color:black;background-color:white"><br class="ContentPasted0">
</span></div>
<div style="font-size:15px;font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;margin:0px;color:rgb(36, 36, 36);background-color:rgb(255, 255, 255)">
<span style="font-size:12pt;font-family:Calibri, Arial, Helvetica, sans-serif;margin:0px;color:black;background-color:white" class="ContentPasted0">My aim consists in test UI resources as OS icons for example: Show applications, click on any application contained
 in show applications list, type text at the search box, and so on... Generally saying, simulate/automate mouse and keyboard events how a user would do (for example xdotool developed for X11/Xorg performs this task when you pass mousemove, getmouselocation,
 keydown/keyup as arguments).<br class="ContentPasted0">
<br class="ContentPasted0">
<br class="ContentPasted0">
uinput I have heard about, moreover there is a python implementation for it called python-uinput <a href="https://pypi.org/project/python-uinput/" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable" data-safelink="true" data-linkindex="0" style="margin:0px" class="ContentPasted0">https://pypi.org/project/python-uinput/</a> which
 I said here based on uinput kernel module, I was able to automate some keyboard keystrokes but I was not able to automate keyboard shortcuts and mouse events.<br class="ContentPasted0">
<div style="margin:0px"></div>
<br class="ContentPasted0">
<br class="ContentPasted0">
</span></div>
<div style="font-size:15px;font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;margin:0px;color:rgb(36, 36, 36);background-color:rgb(255, 255, 255)">
<span style="font-size:12pt;font-family:Calibri, Arial, Helvetica, sans-serif;margin:0px;color:black;background-color:white" class="ContentPasted0">libei I never heard about it, about compositors I don't have knowledge on how they work yet, I need to know what
 they are and their working to comprehend how to deal with them.</span></div>
<div style="font-size:15px;font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;margin:0px;color:rgb(36, 36, 36);background-color:rgb(255, 255, 255)">
<span style="font-size:12pt;font-family:Calibri, Arial, Helvetica, sans-serif;margin:0px;color:black;background-color:white"><br class="ContentPasted0">
</span></div>
<div style="font-size:15px;font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;margin:0px;color:rgb(36, 36, 36);background-color:rgb(255, 255, 255)">
<span style="font-size:12pt;font-family:Calibri, Arial, Helvetica, sans-serif;margin:0px;color:black;background-color:white"><br class="ContentPasted0">
</span></div>
<div style="font-size:15px;font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;margin:0px;color:rgb(36, 36, 36);background-color:rgb(255, 255, 255)">
<span style="font-size:12pt;font-family:Calibri, Arial, Helvetica, sans-serif;margin:0px;color:black;background-color:white" class="ContentPasted0">Thank you,</span></div>
<div style="font-size:15px;font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;margin:0px;color:rgb(36, 36, 36);background-color:rgb(255, 255, 255)">
<span style="font-size:12pt;font-family:Calibri, Arial, Helvetica, sans-serif;margin:0px;color:black;background-color:white"><br class="ContentPasted0">
</span></div>
<span style="font-size:15px;font-family:"Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;margin:0px;color:rgb(36, 36, 36);background-color:rgb(255, 255, 255)"><span style="font-size:12pt;font-family:Calibri, Arial, Helvetica, sans-serif;margin:0px;color:black;background-color:white" class="ContentPasted0">Victor</span></span><br>
</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>De:</b> Victor Borghi Gimenez (FIPT)<br>
<b>Enviado:</b> sexta-feira, 25 de novembro de 2022 04:04<br>
<b>Para:</b> wayland-devel@lists.freedesktop.org <wayland-devel@lists.freedesktop.org><br>
<b>Assunto:</b> How Wayland manages the automation/access of input devices and deal with block on them</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Hello there,<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
<br>
<br>
I was developing some scripts to automate test cases using Xlib package in Python to test resources (click in icons, verify the opened window, text that appeared) on a new linux distro here, before it was standardized in X11 and now they decided to standardize
 it in Wayland and it let me stucked to keep the development of the scripts because the lack of working. I also give a dig to find packages in Python and mouse/keyboard simulation tools compatible with Wayland which work in terminal and I found python-uinput
 which works for simulation of keyboard but not to simulate mouse, and ydotool which gave me error. Now I would like to know how Wayland manages the automation of mouse and keyboard opposed to X11/XOrg in order to develop any script in Python or other language
 to automate input devices, I don't have any knowledge of the differences from XOrg and Wayland and I fell in this study because the need to automate Wayland.<br>
<br>
<br>
Thanks in advance,<br>
<br>
Victor </div>
</div>
</body>
</html>