Simulate/automate mouse and keyboard events
I started to study graphical protocols it takes 1 week due the need to automate input devices necessarily using Wayland in a project which I am participating. I know a little about C programming because it takes some time that I used (at the college) but I am still able to get it by myself but nothing about the Wayland back-end... I am trying to find a small example from a script where could I simulate the mouse pointer motion and his click with the left, middle and right buttons given the x and y positions on the screen and a script where could I able to simulate keystrokes from keyboard buttons but I cannot able to find any of them.
Any possibility to automate these input devices using the C wayland library?