I'm trying to find a C library for automating mouse clicks and keystrokes, something like the Python package AutoPy would be ideal. Does anyone know whether something like this exists?
Some of you might have heard of Auto-it (http://www.autoitscript.com/site/autoit/), which automates GUIs in Windows. Something like that would also be good, but my main OS is Linux.
I'm not sure whether it would be possible to create a shared library from the C source code in autopy. Any suggestions gratefully received!