Intercepting XTestFake events without an X server
I have a machine that does not have an X11 server installed. However, there is this program that keeps sending out XTestFakeMotionEvent and XTestFakeButtonEvent events defined by the X11 XTest library . Normally ,these events can force an X server to emulate mouse motion and clicks
However, since there is no X server on this machine, I wanted to find out if there is a way to build a C program replacement to intercept these events coming from this other program?