Registry / other / libxtst

libxtst

JSON →
library1.2.5vcpkgunverified

Xlib-based library for XTEST & RECORD extensions

vcpkg install libxtst
INSTALL
IMPORT
SIG · LIBXTST
L
libxtst
othercppv1.2.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

X11/extensions/XTest.h
#include <X11/extensions/XTest.h>

Simulate a key press using XTEST extension

#include <X11/extensions/XTest.h> #include <X11/Xlib.h> int main() { Display* dpy = XOpenDisplay(NULL); if (dpy) { XTestFakeKeyEvent(dpy, 65, True, 0); // Press 'A' XTestFakeKeyEvent(dpy, 65, False, 0); // Release 'A' XCloseDisplay(dpy); } return 0; }
Debug
Known issues
gotchaRequires X server and may need appropriate permissions (e.g., on Wayland, XTEST may not work).
fix
Ensure you are running under X11 and have necessary permissions.
affects: *
Upgrade
Version history
1.2.5latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

libxtst — pip install libxtst · libregistry