Hi arturo
I have a slightly different context of problem . I am implementing a NUI device for visual feedback I am using openframeworks . In C I am able to perform cursor motion as well as clicks but in of only motion is a go clicks signal undefined reference whereas both are part of X11. ubuntu 14.04 , prob with XTestFakeButtonEvent(); should reside in /usr/include/X11/extensions/XTest.h
thanks priest